A binary tree's height is equal to the height of the root node in the whole binary tree. It means that the maximum number of edges from the root to the farthest leaf node determines the height of a binary tree. In a binary search tree, a node's left child has a lower value than the parent, while the right child has a higher value. When there are n nodes in a binary search tree, the greatest height is n-1 and the least height is floor (log2n).