Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please solve them and show me the run of them Tasks/Assignments(s) 1. Create CircularLinkedList class. Apply all the following operations: Adition: addFirst, addLast, addAtPoistion Deletion:
please solve them and show me the run of them
Tasks/Assignments(s) 1. Create CircularLinkedList class. Apply all the following operations: Adition: addFirst, addLast, addAtPoistion Deletion: removeFirst, removeNode. FindNode: to find a node with specific given value. 2. Add a method rotate() to CircularLinkedList class that shift the list one node, below is the output before and after calling the method. Node 2:30 Node 3 :20 Node 4 :10 rund Display List: Node 1 :40 The list is shifted Display List: Node 1 :30 First element: 30 Last element: 40 Node 2 :20 Node 3 :10 Node 4 :40 Deliverables(s) You are required to implement and deliver a Java program as described in the previous section. Tasks/Assignments(s) 1. Create Circular Double LinkedList class. Each node should have course ID and name in the data section. Apply all the following operations: Display: forwardDisplay, backwardDisplay. Adition: addFirst, add Last, addAtPos. Deletion: delete First, delete Last, delete Node. FindNode: to find a node with specific given ID. 2. Add find Duplicate method to CircularDouble LinkedList class to find and display courses with DUPLICATE IDs. Sample output after adding some nodes to the list and calling find Duplicate method: run: ID:333 - Name: Islamic ID:512 - Name:Math2 ID:616 - Name: Digital Hardware ID:512 - Name: Data Structures ID:444 - Name:00P2 ID:707 - Name :O0P2 ID:121 - Name:00P1 ID:333 - Name:Mathi ID:444 - Name: Physics Duplicate ID: 333 For Courses: Islamic, Mathi Duplicate ID: 512 For Courses: Math2, Data Structures Duplicate ID: 444 For Courses: OOP2 , Physics BUILD SUCCESSFUL (total time: 0 seconds) Deliverables(s) You are required to implement and deliver a Java program as described in the previousStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started