![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
DP问题
海州湾
这个作者很懒,什么都没留下…
展开
-
LeetCode [DP]322. Coin Change
题目链接ou are given coins of different denominations and a total amount of money amount. Write a function to compute the fewest number of coins that you need to make up that amount. If that amount原创 2017-07-14 18:00:21 · 169 阅读 · 0 评论 -
LeetCode [DP]70. Climbing Stairs
70. Climbing StairsYou are climbing a stair case. It takes n steps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?Not原创 2017-07-14 09:07:35 · 185 阅读 · 0 评论 -
LeetCode 198. [DP]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 you from robbing each of them is that adjace原创 2017-07-14 10:58:03 · 190 阅读 · 0 评论