Viasat Interview Question

Implement queue using stack.