OK, is this correct?
while (head) {
node * temp = head;
delete head;
head = temp; }
Close...but why reallocate the memory for temp each time
through the loop
Think about the inefficiency of this!!!
Therefore, remove the underlined portion