Valeo Interview Question

Q: How to reverse stack into queue?