MCPcopy Create free account
hub / github.com/careercup/CtCI-6th-Edition-JavaScript / Node

Class Node

chapter03/util/LinkedList.js:3–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// moved from chapter 2 (/util/LinkedListX.js)
2
3class Node {
4 constructor(value) {
5 this.value = value
6 this.next = null;
7 }
8}
9
10class LinkedList {
11 constructor() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected