Linked list provides the advantage of dynamic sizing, uses memory space more efficiently than an array, and performs adding or removing elements faster.
This project allows users:
- Add head to linked list
- Insert node to desired index of linked list
- Remove head of linked list
- Remove node from desired index of linked list
You can run the below command to clone this project:
git clone https://github.com/HilalKocak/LinkedList-TDD.git
To install dependencies run:
npm install
npm i --save jest
To run in localhost:
node app.js
To run tests:
npm test