3. (10%) Given a non-empty queue Q and a stack T, use pseudo-code to describe an algorithm to reverse the order of the elements in Q using T. For both Q and T, you can only use their push and pop operations.