1.

Postorder traversal of a given binary search tree T produces following sequence of keys: 3, 5, 7, 9, 4, 17, 16, 20, 18, 15, 14 Which one of the following sequences of keys can be the result of an in-order traversal of the tree T?

A. 3, 4, 5, 7, 9, 14, 20, 18, 17, 16, 15
B. 20, 18, 17, 16, 15, 14, 3, 4, 5, 7, 9
C. 20, 18, 17, 16, 15, 14, 9, 7, 5, 4, 3
D. 3, 4, 5, 7, 9, 14, 15, 16, 17, 18, 20
Answer» E.


Discussion

No Comment Found