Binary Search Tree: GATE CS Previous Year Questions

Binary Search Tree · Data Structures

32 questions · asked in 17 of 27 years (2000–2026)

MCQ 26 · MSQ 2 · NAT 41-mark 20 · 2-mark 12

2000Questions per year2026

Questions 11–15 of 32

Q11GATE 2017 (Session 2)2 marksMCQ−0.67 if wrong
The pre-order transversal of a binary search tree is given by 12, 8, 6, 2, 7, 9, 10, 16, 15, 19, 17, 20. Then the post-order traversal of this tree is:

Q12GATE 2016 (Session 2)2 marksNAT
The number of ways in which the numbers 1,2,3,4,5,6,7 can be inserted in an empty binary search tree, such that the resulting tree has height 6, is _____.
Note: The height of a tree with a single node is 0.

Q13GATE 2015 (Session 1)1 markMCQ−0.33 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

Q14GATE 2015 (Session 1)1 markMCQ−0.33 if wrong
What are the worst-case complexities of insertion and deletion of a key in a binary search tree?

Q15GATE 2015 (Session 3)1 markMCQ−0.33 if wrong
While inserting the elements 71, 65, 84, 69, 67, 83 in an empty binary search tree (BST) in the sequence shown, the element in the lowest level is

Keep practising

Topics in Data Structures

All CS topics ›