Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/careercup/CtCI-6th-Edition-JavaScript
/ constructor
Method
constructor
chapter07/util/LinkedList.js:11–14 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
9
10
class
LinkedList {
11
constructor() {
12
this.head = null;
13
this.tail = null;
14
}
15
16
append(value) {
17
let
node =
new
Node(value);
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected