Implement the method toString for the class BinarySearchTree. The method should return a
Chapter 25, Problem 21(choose chapter or problem)
Implement the method toString for the class BinarySearchTree. The method should return a string that, when displayed, shows the shape of the tree in two dimensions. Ignore the data in each node. For example a tree might appear as follows: o / \ o o / \ o o
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