Viasat interview question

Implement queue using stack.