CS 201: Recursive Queue Hints

To represent a completely empty queue:

To represent a queue with only one item in it:

To represent a queue with only two items in it:

To represent a queue with three or more items in it:

inside should never refer to queue that is empty; if the queue that inside points to becomes empty, inside should be set directly to null.