会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
neverlandly
博客园
首页
新随笔
联系
管理
订阅
2014年5月22日
Leetcode: Word Search
摘要: Remember to change the character back after loop through all the possibility 非常聪明的方法1:O(1)空间的话可以不用visited数组,直接改board。改了之后,再访问的时候因为board[i][j] != word.
阅读全文
posted @ 2014-05-22 23:45 neverlandly
阅读(662)
评论(0)
推荐(0)