recategorized by
31,893 views
48 votes
48 votes

We are given a set of $n$ distinct elements and an unlabeled binary tree with $n$ nodes. In how many ways can we populate the tree with the given set so that it becomes a binary search tree?

  1. $0$
  2. $1$
  3. $n!$
  4. $\frac{1} {n+1} .^{2n}C_n$
recategorized by

9 Answers

–3 votes
–3 votes
Ans is D
Answer:

Related questions

18 votes
18 votes
2 answers
2
25 votes
25 votes
2 answers
3