Question: Write a Java program to build a Linked List data structure from scratch. i.e. : writing your own LinkedList class. The most recently added element
-
Write a Java program to build a Linked List data structure from scratch. i.e. : writing your own LinkedList class. The most recently added element in the LinkedList is the head- element. Your LinkedList should be able to do the following :Show that it consists of 4 integers of your choice, Indicating the head element. b) Show the remaining 3 elements of the LinkedList once you have deleted the old head element. Indicate the new head.
*PLEASE PROVIDE COMMENTS
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
