News for hackers. Stuff that matters.
Re:Speeding up my Advent of Code solution with Dijkstra's Al... by EnderShadow8 on Saturday January 01, 2022 @07:51AM (#29757889)
If it works, it works. Priority queues are an extremely powerful data structure if you leverage them right.

I find C++'s set and map and related data structures are also very useful for solving cp problems.

Re:Speeding up my Advent of Code solution with Dijkstra's Al... by smcl on Saturday January 01, 2022 @08:39AM (#29758158)
oh yeah it goes without saying that Python dicts and sets are my AOC bread and butter :D