menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Data Science News

>

Historian Hysteria
source image

Dev

1M

read

251

img
dot

Image Credit: Dev

Historian Hysteria

  • The article discusses the process of solving Advent of Code 2024 Day 1 challenge
  • The steps involved in the solution include parsing the input, making two lists of numbers, sorting each list in ascending order, and calculating the absolute difference and incrementing a tally
  • The second part of the challenge involves checking for matches between two lists and building a map of numbers and their counts
  • The code successfully solves the puzzle and earns two gold stars

Read Full Article

like

15 Likes

For uninterrupted reading, download the app