
当前状态
文章平均质量分 70
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 121. Best Time to Buy and Sell Stock(股票买卖)
原题网址:https://leetcode.com/problems/best-time-to-buy-and-sell-stock/ Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to comple原创 2016-05-24 00:36:30 · 743 阅读 · 0 评论 -
LeetCode 155. Min Stack(最小栈)
原题网址:https://leetcode.com/problems/min-stack/ Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. push(x) -- Push element x onto stack.pop() -- Re原创 2016-05-26 00:56:06 · 980 阅读 · 0 评论