Amazon Interview Question

Dijkstra's algorithm and shortest path problems