码迷,mamicode.com
首页 >  
搜索关键字:robber    ( 302个结果
337. House Robber III
和前两题已经关系不大了……是树的dfs,加上一个表track back ...
分类:其他好文   时间:2016-06-29 13:22:23    阅读次数:167
213. House Robber II
区别就是用了两个数组,一个强行从第一个开始,一个强行从第二个开始 ...
分类:其他好文   时间:2016-06-29 07:47:48    阅读次数:128
198. House Robber
到某个位置的房子为止最大的收益,是“上个房子最大收益”和“上上个房子收益+本房子的收益”中比较大的那个 因为需要用到上上个房子的值,所以至少要有三个房子,所以一个房子的时候要单独处理 ...
分类:其他好文   时间:2016-06-29 06:41:53    阅读次数:160
LeetCode 213. House Robber II
Problem: https://leetcode.com/problems/house-robber-ii/ After robbing those houses on that street, the thief has found himself a new place for his thi ...
分类:其他好文   时间:2016-06-25 21:36:54    阅读次数:150
[leetcode] 337.House Robber III
The thief has found himself a new place for his thievery again. There is only one entrance to this area, called the "root." Besides the root, each hou ...
分类:其他好文   时间:2016-06-25 20:21:15    阅读次数:184
codeforces 686B B. Little Robber Girl's Zoo(水题)
题目链接: B. Little Robber Girl's Zoo ...
分类:其他好文   时间:2016-06-24 10:32:09    阅读次数:202
House Robber II
Note: This is an extension of House Robber. After robbing those houses on that street, the thief has found himself a new place for his thievery so tha ...
分类:其他好文   时间:2016-06-13 13:08:56    阅读次数:122
House Robber
You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping yo ...
分类:其他好文   时间:2016-06-13 11:19:42    阅读次数:117
?House Robber III
The thief has found himself a new place for his thievery again. There is only one entrance to this area, called the "root." Besides the root, each hou ...
分类:其他好文   时间:2016-06-13 06:34:49    阅读次数:154
213. House Robber II
...
分类:其他好文   时间:2016-06-12 08:24:19    阅读次数:115
302条   上一页 1 ... 11 12 13 14 15 ... 31 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!