1.

The maximum number of nodes in a tree for which post-order and pre-order traversals may be equal is ______(a) 3(b) 1(c) 2(d) any numberThis key question is from Binary Trees topic in portion Binary Trees of Data Structures & Algorithms IThe question was asked in an online quiz.

Answer» CORRECT ANSWER is (B) 1

For EXPLANATION: The tree with only one node has post-order and pre-order traversals equal.


Discussion

No Comment Found

Related InterviewSolutions