Pregunta de entrevista de IDFC FIRST Bank

leetcode hard bus routes question