水中的鱼
Showing posts with label
data structure
.
Show all posts
Showing posts with label
data structure
.
Show all posts
Monday, August 7, 2017
[Leetcode] Min Stack, Solution
›
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. push(x) -- Push element x onto stack. ...
›
Home
View web version