Delete Node in a Linked List
You are given access to a node in a singly linked list, but not to the head of the list. The node is guaranteed not to be the tail. Delete that node from the list in place and return nothing.
You are given access to a node in a singly linked list, but not to the head of the list. The node is guaranteed not to be the tail. Delete that node from the list in place and return nothing.