DoorDash Interview Question

Dijkstra's algorithm