Extend the SinglyLinkedList.java to a doubly linked list (DoublyLinkedList class). Use class inheritance to avoid unnecessary duplication of code. Write a method dllIterator( ), which extends the operations done by SLLIterator and adds methods hasPrev(), prev(), and add(x). The add method of the iterator should insert x before the element that will be returned by a call to next().
-
Notifications
You must be signed in to change notification settings - Fork 0
achyutb6/doubly-linked-list
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Doubly linked list implementation
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published