This problem applies Dijkstra's to a grid — the "weight" is the max elevation along the path, demonstrating a minimax path variation.
Enable JavaScript for the full StreamPrep guide.