Pregunta de entrevista de NVIDIA

They asked a question involving Dijkstra's algorithm.