Pregunta de entrevista de Google

Island DFS question with binary trees.