Pregunta de entrevista de Apple

dijikstra, few array questions and basic hr round