Harmonic Interview Question

how to use stack to implement queue