@@ -0,0 +1,341 @@
+package leetcode.delete_node_in_a_linked_list;%0A%0Aimport common.ListNode;%0A%0Apublic class Solution %7B%0A    public void deleteNode(ListNode node) %7B%0A        ListNode prev = node;%0A        while(node.next != null)%7B%0A            node.val = node.next.val;%0A            prev = node;%0A            node = node.next;%0A        %7D%0A        prev.next = null;%0A    %7D%0A%7D

Add java solution for 237. Delete Node in a Linked List