GlobalLogic Interview Question

Implement queue using stack