Problem 3342 · Medium
Dijkstra over (room, next-move cost) states, where each move alternates between one and two seconds.
Open the interactive visualisation