Harmonic interview question

how to use stack to implement queue