A rooted tree of height is called balanced if all its leaves are of level $n$ or $n-1$.