Well, yeah, but it doesn't necessarily mean taking an element not in the stack and placing it on top. You can also "push" elements of a stack to the top. That's why I thought the terminology wasn't quite correct.Originally Posted by dwks
But anyways, winky, you're getting closer to what you're looking for. All the pushes in the code you just put up are unnecessary. You should be popping values off of your stacks.