Intel Corporation interview question

Shortest path algorithm