Retrying a pull request

You cannot push to the "other end" of a stack. Stacks only allow push and pop at the top. Queues only allow push at the back, pop at the front. So for this one you need to move items from the stack to the queue and then back again.