aoc::year2021::day15

Function dijkstra

Source
fn dijkstra(square: &Square) -> usize
Expand description

Implementation of Dijkstra’s algorithm without using the decrease-key functionality.