How do I reverse the order of the elements in a stack using one additional stack (and no other collection) and possibly some variables? After reversing the order, the elements have to be in the same stack as in the beginning.
valid question