习题 200 - Number of Islands

Google
Facebook
Microsoft
Amazon
深度优先搜索
宽度优先搜索
Union Find

Google, Faceboo, Microsoft, Amazon 面试题

考点:深度优先搜索 DfS, 宽度优先搜索 BFS, Union Find

难度:中等