Deallocating all in Circular LL
•
Remember, with a circular linked list
–
it is the stopping condition that changes
–
if we check for it too soon...we won’t get
anywhere!
//for example, this is
wrong
node * current = head;
while (current != head) {...}