Click or drag to resize
BSTKey, ValueHeight Method
Returns the height of the BST (for debugging).

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public int Height()

Return Value

Type: Int32
the height of the BST (a 1-node tree has height 0)
See Also