Signify interview question

Dijkstra's algorithm