特牛网址导航

Surrounded Regions 解答-CSDN博客

网友收藏
文章浏览阅读62次。QuestionGiven a 2D board containing'X'and'O'(the letter O), capture all regions surrounded by'X'.A region is captured by flipping all'O's into'X's in that surrounded region.Example:...