getMaxDepth

abstract fun getMaxDepth(): Int

Returns the maximum depth of the tree.