The nodes of list1 has been inserted into list2 between nodes #2 and #3.

list1 is now an empty list.

 

 

Before

 

 

 


list1

 

 

 


list2

 

 

After

 

 


list1

 

 

list2

 

 

 

Explanation