Add two-stack-queue problem (#57)

This commit is contained in:
Jorge Gonzalez
2017-10-18 10:25:39 -04:00
committed by Yangshun Tay
parent d9b9d4b5ca
commit df1c15de05

View File

@ -2,3 +2,4 @@ Queue
==
- Implement a Queue class from scratch with an existing bug, the bug is that it cannot take more than 5 elements.
- Implement a Queue using two stacks. You may only use the standard `push()`, `pop()`, and `peek()` operations traditionally available to stacks. You do not need to implement the stack yourself (i.e. an array can be used to simulate a stack).