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

Function BSTp

chapter04/4.06 - Successor/successor.js:1–6  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

1var BSTp = function(value) {
2 this.value = value;
3 this.left = null;
4 this.right = null;
5 this.parent = null;
6};
7
8var findSuccessor = function(node) {
9 var successor = null;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected