Intel Corporation Interview Question

Shortest path algorithm