Cisco interview question

Implement Dijkstra in C