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

Answer the following questions from the binary tree.

List the internal nodes of the right sub-tree.

Computer Science20171 markBinary tree

Answer

Answer

AI
G, Z The right sub-tree has root G with nodes Z, D and R. Internal (non-leaf) nodes are those with at least one child: G and Z. D and R are leaf nodes.
Data structures

From ISC 2017 Computer Science Paper 1, question 12(b)(iii).