@@ -0,0 +1,742 @@
+/**%0A * Problem Link: https://leetcode.com/problems/remove-linked-list-elements/%0A * %0A * Iterate every elements in the list, then remove the node with val equals to val.%0A * %0A * Definition for singly-linked list.%0A * public class ListNode %7B%0A *     int val;%0A *     ListNode next;%0A *     ListNode(int x) %7B val = x; %7D%0A * %7D%0A */%0Apublic class Solution %7B%0A    public ListNode removeElements(ListNode head, int val) %7B%0A        while(head != null && head.val == val) head = head.next;%0A        ListNode next = head;%0A        while(next != null && next.next != null) %7B%0A            if(next.next.val == val) %7B%0A                next.next = next.next.next;%0A            %7D else %7B%0A                next = next.next;%0A            %7D%0A        %7D%0A        return head;%0A    %7D%0A%7D%0A

Create Remove_Linked_List_Elements.java