Is this the same as deleting a node?
It is the key pointer move inside deletion, but full deletion also depends on what references you still hold and whether the removed node is head.
LazyCoder
Practice removing or skipping a node by rewiring around it while keeping the rest of the list intact.
Bypassing a node is the core move inside many delete operations. Even when a delete problem sounds different, you usually end up reconnecting one node to a later node while making sure the skipped node no longer participates in the list.
If the skipped node still points into the active list, your visual model becomes harder to reason about. Clearing the detached node's next pointer helps learners see the difference between active structure and removed structure.
It is the key pointer move inside deletion, but full deletion also depends on what references you still hold and whether the removed node is head.
It makes the detached node easier to reason about and prevents learners from assuming it is still part of the active chain.