![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法,leetcode,动态规划,C++,贪心算法
文章平均质量分 91
Zarlove
这个作者很懒,什么都没留下…
展开
-
Leetcode学习日志-376 Wiggle Subsequence
Leetcode 376 Wiggle Subsequence题目原文A sequence of numbers is called a wiggle sequence if the differences between successive numbers strictly alternate between positive and negative. The first dif原创 2017-09-07 20:41:37 · 430 阅读 · 0 评论 -
Leetcode算法学习日志-455 Assign Cookies
Leetcode 455 Assign Coolies题目原文Assume you are an awesome parent and want to give your children some cookies. But, you should give each child at most one cookie. Each child i has a greed factor g原创 2017-09-27 19:57:45 · 250 阅读 · 0 评论 -
Leetcode算法学习日志-406 Queue Reconstruction by Height
Leetcode 406 Queue Reconstruction by Height 题目原文Suppose you have a random list of people standing in a queue. Each person is described by a pair of integers(h, k), where h is the height of the原创 2017-09-27 20:26:53 · 326 阅读 · 0 评论 -
Leetcode算法学习日志-714 Best Time to Buy and Sell Stock with Transaction Fee
Leetcode 714 Best Time to Buy and Sell Stock with Transaction Fee题目原文Your are given an array of integers prices, for which thei-th element is the price of a given stock on day i; and a non-neg原创 2017-10-23 21:16:05 · 6171 阅读 · 1 评论 -
Leetcode算法学习日志-486 Predict the Winner
Leetcode 486 Predict the Winner题目原文Given an array of scores that are non-negative integers. Player 1 picks one of the numbers from either end of the array followed by the player 2 and then playe原创 2018-01-09 14:42:51 · 425 阅读 · 0 评论