Skip to content

Implementation of the doubly linked list data structure

License

Notifications You must be signed in to change notification settings

sundogu/DS-LinkedList

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DS-LinkedList

My implementation of LinkedList data structure. LinkedList is a List data structure that utilizes pointers that points to the next element in order to store a sequence of elements. Unlike Arrays, elements are not stored in a contiguous space in memory therefore cannot be indexed in the manner how Arrays can. Instead they make up for it for having faster insertion / deletion time via the Iterator.

Time Complexity

My implementation of LinkedList has:

  • List Acess: O(n)

  • List Insert: O(n)

  • List Insert First / Last: O(1)

  • List Remove: O(n)

  • Iterator Insert: O(1)

  • Iterator Remove: O(1)

Space Complexity

  • O(n)

About

Implementation of the doubly linked list data structure

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages