Problem 225 · Easy

Implement Stack using Queues

Implement LIFO stack behavior using two FIFO queues through clever re-queuing.

Open the interactive visualisation