According to Wikipedia,
The height of a tree is the length of the path from the root to the deepest node in the tree. A (rooted) tree with only one
depends how you want to interpret the height of a tree. in some applications, a tree with one node is interpreted as having height of one and others consider it as having height of zero.