Define depth and height of a node

For any node ni, the depth of ni is the length of the unique path from the root to ni. The height of ni is the length of the longest path from ni to a leaf.

0
Sanisha Maharjan
Jan 23, 2022
More related questions

Questions Bank

View all Questions