Solved

Which of the Following Statements About Trees Is NOT Correct

Question 71

Multiple Choice

Which of the following statements about trees is NOT correct?


A) The height of a tree is based on the longest path from the root to a leaf.
B) Many tree properties are computed with recursive methods.
C) A simple implementation of a Tree class uses an instance variable for the root node and a nested Node class, which stores the node's data and its children.
D) A subtree rooted at node n is the tree formed by taking n as the root node and including all of its ancestors.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions