Implement a FIFO queue using only two stacks, supporting push, pop, peek, and empty.
Practise this challenge
All coding challenges