Tripadvisor interview question

Implement a stack using queues

Interview Answer

Anonymous

4 Mar 2019

Use 2 queues to emulate the FIFO behavior of the stack.