namespace ALGA { public class AVLTree { public Node root; public void insert(int number) { if (root == null) { root = new Node(number); return; } root = root.insert(number); } public bool isBalanced() { if (root == null) return true; return root.isBalanced(); } public void prettyprint() { return; } } }