Question: please use java , and it should be Double linked list Node class has int data; Node next; Node prev; Q1: (CLO 3) Design and
please use java , and it should be Double linked list
Node class has int data; Node next; Node prev;
Q1: (CLO 3) Design and Implement a new Java Application to manage a sorted Double Linked Lists Create Node class a) b) Create MyDoubleLikedList class and write methods to Add methods to get and set, Data and Link . Insert nodes . Delete nodes Search List for a value Display all values in the nodes Display all values in the nodes in reverse order. Create 3 lists: listl, list2, list3 of type MyDoubleLikedList Write a method to generate randomly numbers between 20 and 60 . c) Create Main class . i. Insert 10 integers (do not insert duplicates) into listl ii. Insert 15 integers (do not insert duplicates) into list2 Write a method to find the average of the even numbers in a list Given two lists, write a method to find the elements that are in one of the list but not in the other list and insert them into a third list. Test these methods
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
