Amazon Interview Question

Implement stack using queue algo.