Teaching Haryana (HPSC) Assistant Professor Mock Test 2025 Programming and Data Structure Tree Tree Traversal
The preorder traversal sequence of a binary search tree is
25, 15, 10, 4, 12, 22, 18, 24, 50, 35, 31, 44, 70, 66, 90
Which one of the following is the postorder traversal sequence of the same tree?
1
4, 12, 10, 18, 24, 15, 22, 31, 44, 50, 66, 90, 70, 35, 25
2
4, 12, 10, 18, 24, 22, 15, 31, 44, 35, 66, 90, 70, 50, 25
3
4, 10, 12, 15, 18, 22, 24, 25, 31, 35, 44, 50, 66, 70, 90
4
90, 70, 66, 50, 44, 35, 31, 25, 24, 22, 18, 15, 12, 10, 4
5
Question Not Attempted