Wipro interview question

Implementing stacks using queues