Pergunta de entrevista da empresa Rippling

Asked me to find the shortest path using Dijkstra Algorithm.