Pregunta de entrevista de Qualtrics

Djkstras algorithm - mostly a coding question - not easy one