Pregunta de entrevista de Rippling

Asked me to find the shortest path using Dijkstra Algorithm.