MCPcopy Create free account
hub / github.com/TheAlgorithms/JavaScript / Node

Class Node

Trees/BreadthFirstTreeTraversal.js:6–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4*/
5
6class Node {
7 constructor(data) {
8 this.data = data
9 this.left = null
10 this.right = null
11 }
12}
13
14class BinaryTree {
15 constructor() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected