摘要: 155. 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. 阅读全文
posted @ 2019-08-03 21:57 mingL 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 154. Find Minimum in Rotated Sorted Array II Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. (i.e., [0, 阅读全文
posted @ 2019-08-03 21:52 mingL 阅读(92) 评论(0) 推荐(0) 编辑