Skip to content

Instantly share code, notes, and snippets.

View Alzmoth's full-sized avatar
💭
I may be slow to respond.

Muhammed Ali Nayir Alzmoth

💭
I may be slow to respond.
View GitHub Profile
@bradtraversy
bradtraversy / js_linked_list.js
Last active May 21, 2024 17:52
JS Linked List Class
// Construct Single Node
class Node {
constructor(data, next = null) {
this.data = data;
this.next = next;
}
}
// Create/Get/Remove Nodes From Linked List
class LinkedList {