Advent of Code 2024 Day 18 - The Missing Day

preview_player
Показать описание
Advent of Code 2024, Day 18. I unfortunately missed this day live, but I do still have to do it before Day 25, so figured I might as well record and time myself anyways - and it went pretty well! I got part 1 and part 2 times of 3:42 and 5:48, so I would've barely made it on the leaderboard for part 2.

The problem itself was fairly straightforward, but I like that there's a much more efficient approach for part 2, even if you don't actually need to implement it. Certainly we are skewing pretty heavy on the grid and shortest-path problems this year though.
Рекомендации по теме
Комментарии
Автор

Will we be missing you for another 11 months brother?

God-i
Автор

Why haven't you added pypy to the environment variables? All you then need to do is pypy <name of file>.py

yajusgakhar