Doubly Linked Lists
•Yes!
–head->next->prev = head;
–
•Anything wrong with this? Yes!
–if this is the first node in the list, we’d have a seg fault with the code above.
–if (temp)  //why not if (head->next)?
– head->next->prev = head;
–