Khan.randRange(4, 6) lstackPopPRO.initJSAV(arr_size)

Your task in this exercise is to show the behavior for the linked stack's pop operation.

Pop the top value from the stack.

To move a value from one node to another, or to the return value, click first on the value that you want to move and then on the destination. To change a pointer, first click on where it starts, and then click on the node that you want it to point to.

[lstackPopPRO.userInput]
if (!lstackPopPRO.checkAnswer() && !guess[0]) { return ""; // User did not click, and correct answer is not // initial array state } else { return lstackPopPRO.checkAnswer(); }

You first want to pop off the value where "top" is pointing.

Click on the first node in the list. Then click the box marked "return".

Next, update the top pointer. Click on "top" and then click the second node on the linked list.