Domanda di colloquio di CLEAR

Some island/graph/DFS leetcode question for the online test