Oracle Interview Question

Implement stack using queue and viceversa