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() -- Removes... 阅读全文
posted @ 2015-05-05 22:28 绿树荫 阅读(191) 评论(0) 推荐(0) 编辑