摘要: Keys: 在一个list中根据index可以同时去掉多个element, see L21 阅读全文
posted @ 2016-11-17 08:53 lettuan 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 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-11-17 08:44 lettuan 阅读(126) 评论(0) 推荐(0) 编辑