What do you mean by level of the tree?

The root node is always considered at level zero, then its adjacent children are supposed to be at level 1 and so on.

Here, node A is at level 0, nodes B and C are at level 1 and nodes D and E are at level 2.

0
Sanisha Maharjan
Jan 23, 2022
More related questions

Questions Bank

View all Questions