波段
文章平均质量分 59
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 122. Best Time to Buy and Sell Stock II(股票买卖)
原题网址:https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/ Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the m原创 2016-05-24 00:36:52 · 414 阅读 · 0 评论 -
LeetCode 376. Wiggle Subsequence(摇摆子序列)
原题网址:https://leetcode.com/problems/wiggle-subsequence/ A sequence of numbers is called a wiggle sequence if the differences between successive numbers strictly alternate between positive and nega原创 2016-07-22 06:18:49 · 1473 阅读 · 0 评论