Question: Tasks / Assignments ( s ) Create SinglyLinkedList class. Apply all the following operations as discussed in the lecture: addFirst: to add new node to
TasksAssignmentss
Create SinglyLinkedList class. Apply all the following operations as discussed in
the lecture:
addFirst: to add new node to the beginning of the linked list.
addLast: to add new node to the end of the linked list.
addNode: to add new node to a specific position in the linked list.
removeFirst: to remove the first node in the linked list.
findNode: to find a node with specific given value.
removeNode: to remove a specific node from the list.
HW Add a Person class that holds the name and address of a person with
accessor and mutator methods. Then, test the class by creating a linked list of
Person objects. Add and remove objects from the linked list using linkedlist
operations defined in Task
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
