[LeetCode] 694. Number of Distinct Islands 不同岛屿的个数

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 @ 2017-10-20 11:53  Grandyang  阅读(17471)  评论(0)    收藏  举报
Fork me on GitHub