dry run the linked list practice solution

Question:
Draw the linked list after the following 3 operations are complete:

head->prev->next->next = head->next->next;
head = head->prev->prev;

head->prev = head


Solution:

Comments

Popular Posts