We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc6ab78 commit 07d92acCopy full SHA for 07d92ac
src/_DataStructures_/LinkedList/index.js
@@ -1,6 +1,7 @@
1
+// do not change the node class, you never know how many things it caan break! :)
2
class Node {
3
constructor(data, next) {
- this.my_data = data;
4
+ this.data = data;
5
this.next = next;
6
}
7
0 commit comments