Valeo interview question

Q: How to reverse stack into queue?