原创 [LeetCode]Number of Islands

解題思路: 圖的連通性,一次遍歷並不能遍歷所有的island,要在深度搜索外加一個for循環,並做好被explored的點的標記 class Solution { public: int numIslands(vector<v