I hate pull requests

You cannot directly access specific members of a stack or queue. With the stack you only get to push/pop from the top. With queue you only get to push at the back, pop at the front. So to answer this question you need to move items from the stack to the queue and then back again.