Rippling interview question

Asked me to find the shortest path using Dijkstra Algorithm.