English

Answer the following question on the diagram of a Binary Tree given below: State the degree of the nodes C and G. Also, state the level of these nodes when the root is at level 0. - Computer Science (Theory)

Advertisements
Advertisements

Question

Answer the following question on the diagram of a Binary Tree given below:

State the degree of the nodes C and G. Also, state the level of these nodes when the root is at level 0.

Short Note

Solution

Degree of C = 2

Degree of D = 0

Level of C = 1

Level of D = 2

shaalaa.com
Recursive Data Structures - Single Linked List (Algorithm and Programming), Binary Trees, Tree Traversals (Conceptual)
  Is there an error in this question or solution?
2021-2022 (April) Set 1
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×