Advent of Code 2021 - Day 15Chiton
| Problem statement | Source code | Tags: Dijkstra
This is a classic shortest path problem, where the edge weights are the risk levels of the destination cells. I just run Dijkstra's. I never remember how to write one, and Wikipedia's first version is the non-ideal one, so here's a better template: