Walmart interview question

queue using two stacks was asked