My really late and really janky attempt to solve Advent of Code 2024
Install dependencies to run the code
pnpm install
2025-01-09 (~60m)
pnpm day1_1
#> 1889772
pnpm day1_2
#> 23228917
2025-01-10 (~1h30m)
pnpm day2_1
#> 660
Brute forcing, I'm not proud of it, but it's not that bad.
pnpm day2_2
#> 689
2025-01-13 (~30m)
Well I prompted my AI to generate the regex. Who write their own regex anyway?
pnpm day3_1
#> 174561379
pnpm day3_2
#> 106921067
2025-01-14 (~60m)
The logic might be right, but the comments are probably wrong.
pnpm day4_1
#> 2567
A lot of hard coded logic, I guess I was just bored in the middle of the solution.
pnpm day4_2
#> 2029