摘要: Given a boolean 2D matrix, find the number of islands. Notice 0 is represented as the sea, 1 is represented as the island. If two 1 is adjacent, we co 阅读全文
posted @ 2016-07-15 11:09 Grandyang 阅读(918) 评论(0) 推荐(0)
Fork me on GitHub