Consider a method for a binary search tree that decides whether the tree is height
Chapter 25, Problem 19(choose chapter or problem)
Consider a method for a binary search tree that decides whether the tree is height balanced, as Segment 25.41 describes. The header of the method could be as follows: public boolean isBalanced() Write this method for the class BinarySearchTree. It should call a private recursive method of the same name.
Unfortunately, we don't have that question answered yet. But you can get it answered in just 5 hours by Logging in or Becoming a subscriber.
Becoming a subscriber
Or look for another answer