237.Delete Node in a Linked List Posted on 2017-10-12 | In LeetCode Solution 1: accepted 3ms123456public void deleteNode(ListNode node) { if (node != null && node.next != null) { // not necessary in the question's scope node.val = node.next.val; node.next = node.next.next; }}