Optym interview question

Explain Dijkstra's algorithm.