Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Delete Node in a Linked List

I can't figure out this problem immediately because there is an old solution limits my thoughts. So I was missing in how can I solve this problem without the previous node. Finally, I saw some good solution that copy the data of next node of the specified delete node and set to delete the next node instead of the specified node. This solution figured the condition that missing previous node's information.