You are viewing a single comment's thread. Return to all comments →
If you use a deque for this you are not solving the problem at hand.
Queue using Two Stacks
You are viewing a single comment's thread. Return to all comments →
If you use a deque for this you are not solving the problem at hand.