摘要:
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-11-19 14:46
AprilCheny
阅读(164)
评论(0)
推荐(0)
摘要:
Implement the following operations of a stack using queues.push(x) -- Push element x onto stack.pop() -- Removes the element on top of the stack.top()... 阅读全文
posted @ 2015-11-19 11:26
AprilCheny
阅读(179)
评论(0)
推荐(0)
摘要:
Implement the following operations of a queue using stacks.push(x) -- Push element x to the back of queue.pop() -- Removes the element from in front o... 阅读全文
posted @ 2015-11-19 10:31
AprilCheny
阅读(151)
评论(0)
推荐(0)

浙公网安备 33010602011771号