Binary Search Trees questions

Q5

GATE CS 2020 CSTree Data StructuresMCQ1 mark−1/3 if wrong
The preorder traversal of a binary search tree is 15, 10, 12, 11, 20, 18, 16, 19.

Which one of the following is the postorder traversal of the tree?
Show answer without attempting

Answer: B

Q41

GATE CS 2020 CSTree Data StructuresMCQ2 marks−2/3 if wrong
In a balanced binary search tree with nn elements, what is the worst case time complexity of reporting all elements in range [a,b][a, b]? Assume that the number of reported elements is kk.
Show answer without attempting

Answer: B

0/20 correct0 marks

Related topics in Tree Data Structures