PRASHNIKAप्रश्निका
‹ Back to the paper

Answer the following questions from the binary tree.

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

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

Answer

Answer

AI
Node C: degree = 2 (children E and F), level = 1. Node G: degree = 0 (it is a leaf), level = 3.
Data structures

From ISC 2022 Computer Science - Specimen paper (Semester 2), Paper 1, question 4(i).