Define depth and height of a tree
4 years ago
Data Structure and Algorithm
The depth of the tree is the depth of the deepest leaf. The height of the tree is equal to the height of the root. Always depth of the tree is equal to height of the tree.
Sanisha Maharjan
Jan 23, 2022