摘要: Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacen 阅读全文
posted @ 2016-05-20 22:43 琴影 阅读(148) 评论(0) 推荐(0) 编辑
摘要: Oil Deposits Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 22931 Accepted Submission(s): 13213 阅读全文
posted @ 2016-05-20 21:49 琴影 阅读(281) 评论(0) 推荐(0) 编辑