getHeight abstract method

int getHeight()

Compute the height of the binary tree in O(N) time. Should not be called often.

Implementation

int getHeight();