码迷,mamicode.com
首页 >  
搜索关键字:surrounded    ( 192个结果
[LeetCode] Surrounded Regions(DFS、BFS)
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 surrounded ...
分类:其他好文   时间:2014-07-30 09:50:33    阅读次数:296
【leetcode刷题笔记】Surrounded Regions
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 surrounded region...
分类:其他好文   时间:2014-07-27 10:42:02    阅读次数:280
LeetCode "Surrounded Regions"
Flood-Fill. BFS. But there's a trick. If we fill surrounded region directly, extra bookkeeping cost is needed - because we don't know whether that reg...
分类:其他好文   时间:2014-07-26 14:58:00    阅读次数:313
Surrounded Regions leetcode java
题目: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 surroun....
分类:编程语言   时间:2014-07-26 14:16:25    阅读次数:257
【leetcode】com/problems/surrounded-regions/
dfs 栈溢出,bfs超时,用dfs非递归就不溢出了,前后写了1一个星期class node{ int i; int j; public node(int i1,int j1) { i=i1; j=j1; ...
分类:其他好文   时间:2014-07-20 22:32:17    阅读次数:244
Problem Surrounded Regions
Problem Description: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 th...
分类:其他好文   时间:2014-07-07 16:20:26    阅读次数:216
leetcode--Surrounded Regions
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 surrounded region...
分类:其他好文   时间:2014-07-06 16:10:55    阅读次数:138
[LeetCode] Surrounded Regions
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 surrounded region...
分类:其他好文   时间:2014-06-30 15:03:43    阅读次数:209
Leetcode Surrounded Regions
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 surrounded region...
分类:其他好文   时间:2014-06-28 18:03:06    阅读次数:238
LeetCode: Surrounded Regions [130]
【题目】 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 surrounded region. For example, X X X X X O O X X X O X X O X X After running your function, the board shou...
分类:其他好文   时间:2014-06-25 08:02:30    阅读次数:205
192条   上一页 1 ... 17 18 19 20 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!