Subscribed unsubscribe Subscribe Subscribe

Takefumi Yamamura's blog

This blog is for my memorandum.

Takefumi Yamamura's b!og

This blog is for my memorandum

Delete Middle Node

LinkedList 就活


Implment an algorithm to delete a node in the middle of a singly linked list. But you can only access to that node.


The solution is simply to copy the data from the next node over to the current node.