(String[] args)
| 4 | |
| 5 | public class Question { |
| 6 | public static void main(String[] args) { |
| 7 | int[] array = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; |
| 8 | |
| 9 | // We needed this code for other files, so check out the code in the library |
| 10 | TreeNode root = TreeNode.createMinimalBST(array); |
| 11 | System.out.println("Root? " + root.data); |
| 12 | System.out.println("Created BST? " + root.isBST()); |
| 13 | System.out.println("Height: " + root.height()); |
| 14 | } |
| 15 | |
| 16 | } |
nothing calls this directly
no test coverage detected