Problem 232 · Easy

Implement Queue using Stacks

Implement FIFO queue behavior using two LIFO stacks through clever re-stacking.

Open the interactive visualisation