Skip to content
Related Articles

Related Articles

Data Structures | Binary Search Trees | Question 4
  • Last Updated : 08 Feb, 2013
GeeksforGeeks - Summer Carnival Banner

How many distinct binary search trees can be created out of 4 distinct keys?
(A) 4
(B) 14
(C) 24
(D) 42

Answer: (B)

Explanation: See question 2 of for explanation. The link also has a generalized solution.

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :