Creates a new SinglyLinkedListNode instance.
Optionalnext: null | SinglyLinkedListNode = nullThe next node, or null if the node has no next connection.
Detaches the node by updating the next reference of the previous node.
After detachment, the node's next pointer is set to null.
The previous node, or null if the node has no previous connection.
Concrete implementation of a singly linked list node.
Provides forward-only node linking capabilities.
Example