Skip to content

A basic implementation of a doubly linked list, complete with methods for adding, removing, and referencing nodes.

Notifications You must be signed in to change notification settings

quintonbjohnson/doubly-linked-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Doubly Linked List

By QuintonJ

A basic implementation of a doubly linked list, complete with methods for adding, removing, and referencing nodes.

Building / Compiling / Deployment

  • CircularDoublyLinkedList: the "main" class that implements the LinkedListInterface. Contains several methods for adding, removing, and acquiring nodes within the list.
  • LinkedListInterface: the interface that the list will implement.
  • LinkedListNode: represents a Node object which contains data in addition to having a previous and next node value.

Future Improvements

  • A tail reference could be added and kept track of throughout the methods to allow for an O(1) time complexity. The original project called for an implementation without a tail reference, to demonstrate various methods.

Credits

  • LinkedListInterface and LinkedListNode were written by TAs within the class. CircularDoublyLinkedList was created through the implementation of the given classes.

About

A basic implementation of a doubly linked list, complete with methods for adding, removing, and referencing nodes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages