Hello Welcome to my portfolio!
NodeLinkedList
Linked List
Example of usage
const main = () => {
const linkedList = new LinkedList();
// mega big list
for (let i = 0; i < 60; i++) {
linkedList.insertNode(i);
}
// find several elements
for (let i = 0; i < 60; i++) {
linkedList.findNode(i);
}
for (let i = 0; i < 50; i++) {
linkedList.deleteNode(i);
}
}
const commonList = () => {
const list = [];
for (let i = 0; i < 60; i++) {
list.push(i);
}
// find several elements
for (let i = 0; i < 60; i++) {
list.find((item) => item === i);
}
for (let i = 0; i < 50; i++) {
list.splice(i, 1);
}
}
Client
myself
Date
Mar 2023
Type of Project
web
Tech Stack JavaScript
Methodology
agile
Github link