摘要: Design a max stack that supports push, pop, top, peekMax and popMax. push(x) -- Push element x onto stack. pop() -- Remove the element on top of the s 阅读全文
posted @ 2017-11-12 22:56 Grandyang 阅读(16267) 评论(0) 推荐(0)
Fork me on GitHub