码迷,mamicode.com
首页 >  
搜索关键字:removes    ( 291个结果
[leedcode 232] Implement Queue using Stacks
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...
分类:其他好文   时间:2015-08-08 17:47:48    阅读次数:134
[leedcode 225] Implement Stack using Queues
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()...
分类:其他好文   时间:2015-08-08 14:54:53    阅读次数:98
HDU-4249-A Famous Equation(DP)
Problem DescriptionMr. B writes an addition equation such as 123+321=444 on the blackboard after class. Mr. G removes some of the digits and makes it ...
分类:其他好文   时间:2015-08-06 22:04:12    阅读次数:135
leetcode-155-Min Stack
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 the element on top of t...
分类:其他好文   时间:2015-08-04 19:12:16    阅读次数:98
(leetcode)Implement Stack using Queues
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()...
分类:其他好文   时间:2015-08-04 15:34:50    阅读次数:96
队列实现栈
class Stack {private: queue que;public: // Push element x onto stack. void push(int x) { que.push(x); } // Removes the eleme...
分类:其他好文   时间:2015-08-04 08:07:53    阅读次数:113
leetcode-232-Implement Queue using Stacks
Implement Queue using Stacks   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 of queue.pe...
分类:其他好文   时间:2015-08-03 19:14:35    阅读次数:133
leetcode-225-Implement Stack using Queues
Implement Stack using Queues    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() -- ...
分类:其他好文   时间:2015-08-03 19:13:06    阅读次数:150
【LeetCode】225 - Implement Stack using Queues
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()...
分类:其他好文   时间:2015-08-02 21:24:47    阅读次数:121
用栈实现队列-用队列实现栈
用栈实现队列 leetcode : Implement Queue using Stacks   Implement the following operations of a queue using stacks. push(x) -- Push element x to the back of queue.pop() -- Removes the element ...
分类:其他好文   时间:2015-08-02 16:53:21    阅读次数:141
291条   上一页 1 ... 16 17 18 19 20 ... 30 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!