Content-Length: 273848 | pFad | http://github.com/GameOfCode64/DSA-JavaScript/commit/abff8e0de02f37283aa3f7a4ff562b51684f3baf

88 learn about Linkedlist · GameOfCode64/DSA-JavaScript@abff8e0 · GitHub
Skip to content

Commit abff8e0

Browse files
committed
learn about Linkedlist
1 parent efc4c40 commit abff8e0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

link-list/day10.js renamed to linked-list/day10.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ class Node {
1010
}
1111

1212
class LinkedList {
13+
// Todo: How to create LinkedList
1314
constructor(value) {
1415
this.head = new Node(value);
1516
this.teal = this.head;
1617
this.length = 1;
1718
}
1819

20+
// Todo: How to add element in LinkedList
1921
push(value) {
2022
let newNode = new Node(value);
2123
if (!this.head) {

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/GameOfCode64/DSA-JavaScript/commit/abff8e0de02f37283aa3f7a4ff562b51684f3baf

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy