Question d’entretien chez LiveRamp

Leetcode question that involved BFS/DFS