MCPcopy Create free account
hub / github.com/careercup/ctci / main

Method main

java/Chapter 4/Question4_5/Question.java:30–36  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

28 }
29
30 public static void main(String[] args) {
31 int[] array = {Integer.MIN_VALUE, Integer.MAX_VALUE - 2, Integer.MAX_VALUE - 1, Integer.MAX_VALUE};
32 TreeNode node = TreeNode.createMinimalBST(array);
33 //node.left.data = 5;
34 //node.left.right.data = 3;
35 System.out.println(checkBST(node));
36 }
37}

Callers

nothing calls this directly

Calls 2

createMinimalBSTMethod · 0.95
checkBSTMethod · 0.95

Tested by

no test coverage detected