Pregunta de entrevista de KLA

Coding round: Famous Island problem solved using simple DFS