155. Min Stack (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() -- Remov 阅读全文
posted @ 2017-03-15 06:55 joannae 阅读(120) 评论(0) 推荐(0) 编辑