摘要:
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 @ 2017-07-11 23:01
hellowOOOrld
阅读(160)
评论(0)
推荐(0)
摘要:
Given an 2D board, count how many battleships are in it. The battleships are represented with 'X's, empty slots are represented with '.'s. You may ass 阅读全文
posted @ 2017-07-11 22:43
hellowOOOrld
阅读(181)
评论(0)
推荐(0)


浙公网安备 33010602011771号