Question: number of islands Follow up: what if you can't modify the input? Answers: use a set t omark visited nodes that you've iterated over