Google News
logo
Data Structures Algorithms - Quiz(MCQ)
A)
Finds the diameter of a tree.
B)
Counts the number of nodes in a given tree.
C)
Checks if all the nodes are reachable in a given tree.
D)
Stores depths of all the nodes in a given tree, with respect to some root node.

Correct Answer : Option () :  

Advertisement