Skip to content

achyutb6/doubly-linked-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Doubly Linked list

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().

Releases

No releases published

Packages

No packages published

Languages