Linked list animation with JavaScript. Inspired on Linked List Visualization.
- Clone this repo.
git clone https://github.com/aluissp/linked-list-visualization.git
- Move into the project.
cd linked-list-visualization
- Install serve with npm.
sudo npm install --global serve
- Finally, run the project with the following command and open the browser in http://localhost:5000/.
sudo serve -l 5000
If you have live server extension in VScode, you don't need to install serve with npm. Just open project with live server.
- Add values: You can provide a number that will be added in the list.
- Insert value: Insert a number at the given index.
- Set value: Update a node value at the given index.
- Remove
- Index: Give an index to remove.
- Data: Match the values in the link with the given number to remove it.
- Clear all: Remove all nodes from linked list.