摘要:
思路 直接模拟程序运行,设置$rowbegin,rowend,colbegin,colend$变量。注意:要判断是否遍历过。 "参考" dfs:待实现 阅读全文
posted @ 2017-06-09 12:03
UniMilky
阅读(150)
评论(0)
推荐(0)
摘要:
思路 类似Spiral Matrix,直接模拟 dfs:等做几道dfs后再来实现 阅读全文
posted @ 2017-06-09 12:02
UniMilky
阅读(125)
评论(0)
推荐(0)
摘要:
思路: dfs,超时 class Solution { public: bool canJump(vector& nums) { return dfs(nums,0); } bool dfs(vector& nums,int i){ if(i == nums.size() 1) return tru 阅读全文
posted @ 2017-06-09 10:41
UniMilky
阅读(534)
评论(0)
推荐(0)

浙公网安备 33010602011771号