getHeight method

int getHeight ()

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

@return

Implementation

int getHeight();