2021 advent of code - day 15 solutions

preview_player
Показать описание
a bit of a shorter explanation today since this is one of those "you know the algorithm or you don't days" -- I also show off `heapq` for making a priority queue

==========

I won't ask for subscriptions / likes / comments in videos but it really helps the channel. If you have any suggestions or things you'd like to see please comment below!
Рекомендации по теме
Комментарии
Автор

This feeling when 75% of my code is similar to yours and this weirdo MOD on that puzzle. One differtence is that i do not use heap and so i have to check every point on the tab. Just a littlebit longer to execute, but have same result.

marsma