Lab 2
AI-enhanced title
int value; TreeNode left, right;
TreeNode(int value) { this.value = value; this.left = this.right = null; }}
class BinarySearchTree { private TreeNode root;