Khan.randRange(2, 6) LinkedQueueDequeuePRO.initJSAV(arr_size)

Dequeue a value from the linked queue.

First move the correct value to the box shown below the list. Then update any necessary pointers. If a pointer variable needs to be set to null, then click the pointer and then click on the "Make Null" button.

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

The value to be removed must be in the node that "front" is pointing to. So click that value, then click the "return" box below the list.

The pointer field of the removed node must be changed to null with the "Make Null" button.

Finally the "front" pointer should be moved to the next node in the list.