Nomura Interview Question

Implement stack using queue data structure