Question d’entretien chez KLA

Coding round: Famous Island problem solved using simple DFS