09 2015 档案

[LeetCode] 122 - Best Time to Buy and Sell Stock II
摘要:Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a... 阅读全文

posted @ 2015-09-10 18:18 tuituji 阅读(130) 评论(0) 推荐(0)

[LeetCode] 121 - Best Time to Buy and Sell Stock
摘要:Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one transaction (ie... 阅读全文

posted @ 2015-09-10 18:17 tuituji 阅读(131) 评论(0) 推荐(0)

导航