[LeetCode] 711. Number of Distinct Islands II 不同岛屿的个数之二

Given a non-empty 2D array grid of 0's and 1's, an island is a group of 1's (representing land) connected 4-directionally (horizontal or vertical.) Yo
posted @ 2018-03-10 23:55  Grandyang  阅读(7276)  评论(4)    收藏  举报
Fork me on GitHub