Hello ..

I've got some Qs.

assume that we have this Doubly linked list

what will happened if we apply the following ?

1- list->next->next->next=list->prev

and then we apply to the new list

2- list->prev->prev->prev=list->next->next->next->prev

and then ..

3- list->next->next->next->prev=list->prev->prev->prev

and then..

4- list->next=list->next->next

and finally ..

5- list->next->prev->next=list->next->next->next

thank you