This project involves implementing linked lists using class or factory functions to deepen an understanding of data structures in JavaScript. A linked list is a fundamental data structure consisting of a sequence of elements, each contained in a node that links to the next element.
For more details on this project, please visit The Odin Project - Project: Linked Lists.
Descriptions and usage details for these components are provided within the code comments in the source file.
The project consists of two main components:
LinkedList
Node
The following functions are to be implemented for managing the list:
append(value)
prepend(value)
size
head
tail
at(index)
pop
contains(value)
find(value)
toString
Optionally, you can also implement:
insertAt(value, index)
removeAt(index)
- JavaScript
- ESLint
- Prettier