LeetCode : 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() –... 阅读全文
posted @ 2017-04-27 23:22 gechen 阅读(72) 评论(0) 推荐(0) 编辑