摘要: Given a 2D board containing 'X' and 'O', capture all regions surrounded by 'X'. A region is captured by flipping all 'O''s into 'X''s in that surround 阅读全文
posted @ 2020-03-25 11:16 xuan_abc 阅读(116) 评论(0) 推荐(0)
摘要: Given a 2D grid, each cell is either a wall 2, a zombie 1 or people 0 (the number zero, one, two).Zombies can turn the nearest people(up/down/left/rig 阅读全文
posted @ 2020-03-25 10:02 xuan_abc 阅读(161) 评论(0) 推荐(0)