Walmart Interview Question

queue using two stacks was asked