Frage im Vorstellungsgespräch bei Qualtrics

Djkstras algorithm - mostly a coding question - not easy one