GATE CS 2017, set 1 · Question 6 · Programming and Data Structures · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer
Let T be a binary search tree with 15 nodes. The minimum and maximum possible heights of T are:
Note: The height of a tree with a single node is 0.
- (A) 4 and 15 respectively
- (B) 3 and 14 respectively
- (C) 4 and 14 respectively
- (D) 3 and 15 respectively
Answer
Answer (B)
Answer from the official GATE CS 2017 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes