Meta interview question

Something about using stacks and queues