Implement getNumberOfNodes in the class BinaryNode, using the approach that Segment
Chapter 24, Problem 2(choose chapter or problem)
Implement getNumberOfNodes in the class BinaryNode, using the approach that Segment 24.11 uses for getHeight. That is, getNumberOfNodes should not call a private method.
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