@@ -0,0 +1,1656 @@
+import java.io.*;%0Aimport java.util.*;%0Aclass Node%7B%0A%09int data;%0A%09Node next;%0A%09Node(int d)%7B%0A        data=d;%0A        next=null;%0A    %7D%0A%09%0A%7D%0Aclass Solution%0A%7B%0A    public static Node removeDuplicates(Node head) %7B%0A        Set%3CInteger%3E values = new HashSet%3CInteger%3E();%0A        Node res = new Node(head.data);%0A        values.add(res.data);%0A        Node p = res;%0A        Node next = head.next;%0A        while (next != null) %7B%0A            if (!values.contains(next.data)) %7B%0A                values.add(next.data);%0A                p.next = new Node(next.data);%0A                p = p.next;%0A            %7D%0A            next = next.next;%0A        %7D%0A        return res;%0A    %7D%0A%09 public static  Node insert(Node head,int data)%0A     %7B%0A        Node p=new Node(data);%09%09%09%0A        if(head==null)%0A            head=p;%0A        else if(head.next==null)%0A            head.next=p;%0A        else%0A        %7B%0A            Node start=head;%0A            while(start.next!=null)%0A                start=start.next;%0A            start.next=p;%0A%0A        %7D%0A        return head;%0A    %7D%0A    public static void display(Node head)%0A        %7B%0A              Node start=head;%0A              while(start!=null)%0A              %7B%0A                  System.out.print(start.data+%22 %22);%0A                  start=start.next;%0A              %7D%0A        %7D%0A        public static void main(String args%5B%5D)%0A        %7B%0A              Scanner sc=new Scanner(System.in);%0A              Node head=null;%0A              int T=sc.nextInt();%0A              while(T--%3E0)%7B%0A                  int ele=sc.nextInt();%0A                  head=insert(head,ele);%0A              %7D%0A              head=removeDuplicates(head);%0A              display(head);%0A%0A       %7D%0A    %7D%0A

Create Day_24_More_Linked_Lists.java