reshown by
486 views
3 votes
3 votes

The keys 1,2,3,.., n are inserted randomly into a binary search tree. What is the probability that subtree of root contains exactly n-2 keys ?

A.  1/n2

B. 1/n

C. 1/(n+1)

D. (n-2)/n

reshown by

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
2
Debargha Mitra Roy asked Sep 26, 2023
181 views
Determine the geometric distribution for which the mean is 3 and variance is 4.
2 votes
2 votes
2 answers
4