How to remove a node from a singly-linked list when only given the pointer to the node
Anonymous
thisNode.data = thisNode.next.data temporaryNode = thisNode.next.next delete thisNode.next thisNode.next = temporaryNode
Check out your Company Bowl for anonymous work chats.