Pregunta de entrevista de Microsoft

It was related to Dijkstra Algorithm