@@ -0,0 +1,647 @@
+package leetcode;%0A%0A/**%0A * https://leetcode.com/problems/delete-node-in-a-linked-list/%0A */%0Apublic class Problem237 %7B%0A    public static class ListNode %7B%0A        int val;%0A        ListNode next;%0A%0A        ListNode(int x) %7B%0A            val = x;%0A        %7D%0A    %7D%0A%0A    public void deleteNode(ListNode node) %7B%0A        // TODO:%0A    %7D%0A%0A    public static void main(String%5B%5D args) %7B%0A        Problem237 prob = new Problem237();%0A        %0A        ListNode head = new ListNode(1);%0A        head.next = new ListNode(2);%0A        head.next.next = new ListNode(3);%0A        head.next.next.next = new ListNode(4);%0A        %0A        prob.deleteNode(head.next.next);%0A    %7D%0A%7D%0A

Solve problem 237