Gate CS-2017-1 Question Paper With Solutions

Q. 17 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: (B)

Explanation:

Gate CS-2017-1 Question Paper With Solutions Gate CS-2017-1 Question Paper With Solutions

Learn More:   Gate EE-2016-2 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here