WD interview question

Implement queue using stack data structure