Question: CS 1 3 3 2 JAVA HW 2 CIRCULAR SINGLY LINKED LIST. PLEASE HELP!!!!! CORRECT ANSWER GETS A THUMBS UP AND GRATITUDE! - - -
CS JAVA HW CIRCULAR SINGLY LINKED LIST. PLEASE HELP!!!!! CORRECT ANSWER GETS A THUMBS UP AND GRATITUDE!Circular SinglyLinked ListYou are to code a circular singlylinked list with a head reference. A linked list is a collection of nodes, each having a data item and a reference pointing to the next node. Since it must be circular, the next reference for the last node in this list will point to the head node. Do not use a phantom node to represent the start or end of your list. A phantom or sentinel node is a node that does not store data held by the list and is used solely to indicate the start or end of a linked list. If your list contains n elements, then it should contain exactly n nodes.Your linked list implementation will implement the LinkedListInterface provided. It will use the default constructor the one with no parameter which is automatically provided by Java. Do not write your own constructor.NodesThe linked list consists of nodes. A class LinkedListNode is provided to you. LinkedListNode has setter and getter methods to access and mutate the structure of the nodes.AddingYou will implement three add methods. One will add to the front, one will add to the back, and one will add anywhere in the list. See the interface for more details.RemovingRemoving, just
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
