Computer Science · Data Structures
If a Binary Search Tree (BST) is constructed by inserting the sequence 30, 9, 15, 45, 24, 8, 5, 75, 50, 80 in order, what will be the number of nodes in the left subtree, the right subtree of the root, and the height of the tree respectively? (Note: An empty tree has a height of 0, and a single root node has a height of 1).
- 15, 4, 3
- 25, 4, 4✓
- 36, 5, 4
- 46, 5, 3
Correct answer
5, 4, 4
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Data Structures?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Data Structures