126k views
5 votes
Define the level of a node.

1 Answer

5 votes

Step-by-step explanation:

The level of a node in Binary tree or generic tree can be defined as the number of connection between the root node and the node +1.

The number of levels in a tree is known as the height of the tree.So more the number of levels more is the height of the tree.

Each level can contain 1 or more nodes.

User Ddonche
by
8.4k points

No related questions found