MCPcopy
hub / github.com/kunal-kushwaha/DSA-Bootcamp-Java / insert

Method insert

lectures/20-trees/code/introduction/BST.java:34–36  ·  view source on GitHub ↗
(int value)

Source from the content-addressed store, hash-verified

32 }
33
34 public void insert(int value) {
35 root = insert(value, root);
36 }
37
38 private Node insert(int value, Node node) {
39 if (node == null) {

Callers 2

populateMethod · 0.95
populatedSortedMethod · 0.95

Calls 2

heightMethod · 0.95
maxMethod · 0.45

Tested by

no test coverage detected