Binary Search Trees questions

Q27

GATE CS 2015 CS-3Tree Data StructuresMCQ1 mark−1/3 if wrong
While inserting the elements 71,65,84,69,67,8371, 65, 84, 69, 67, 83 in an empty binary search tree (BST) in the sequence shown, the element in the lowest level is
Show answer without attempting

Answer: B

Q17

GATE CS 2015 CS-1Tree Data StructuresMCQ1 mark−1/3 if wrong
Which of the following is/are correct inorder traversal sequence(s) of binary search tree(s)?

I. 3, 5, 7, 8, 15, 19, 25
II. 5, 8, 9, 12, 10, 15, 25
III. 2, 7, 10, 8, 14, 16, 20
IV. 4, 6, 7, 9, 18, 20, 25
Show answer without attempting

Answer: A

Q35

GATE CS 2015 CS-1Tree Data StructuresMCQ1 mark−1/3 if wrong
What are the worst-case complexities of insertion and deletion of a key in a binary search tree?
Show answer without attempting

Answer: B

0/30 correct0 marks

Related topics in Tree Data Structures