I have neither given nor received help on this test. Show all your work. You may omit any ONE question but you must indicate which one you want omitted by writing OMIT next to it and circling the question number. Do not spend an excessive amount of time on any one question.
All questions count the same.
If you have trouble with a question, skip it and come back to it later. You may explain your answers if you choose to. Work through the code using a stack with only a few elements on it. List the elements of stack S in reverse order. Suppose that the following unordered list operations have been implemented.