Given MyLinkedList
class implementing MyLinkedListInterface
, implement all the required methods.
Make your LinkedList work as java.util.LinkedList
(create Node
objects to store data that have links to the left and to the right neighbor Node
).
Your implementation should have two pointers to the first and the last Node
.