Recent questions tagged binary-search-tree

168 votes
17 answers
214
0 votes
2 answers
218
1 votes
1 answer
222
certain file system stores records as per binary search tree principles.If the preorder traversal is 90,40,30,190,140,100,290.What is the expected number of comparisons w...
1 votes
1 answer
223
10 votes
3 answers
225
How many distinct binary search trees can be created out of $4$ distinct keys?$5$$14$$24$$35$
0 votes
1 answer
226
Given the following table of data what are the minimum expected no.of comparisons required for an Optimali01234Pi 3/163/161/161/16Qi2/163/161/161/161/16BST that can be co...
25 votes
8 answers
227
While inserting the elements $71, 65, 84, 69, 67, 83$ in an empty binary search tree (BST) in the sequence shown, the element in the lowest level is$65$$67$$69$$83$
2 votes
1 answer
230
53 votes
7 answers
232
32 votes
2 answers
235
54 votes
7 answers
239
A binary search tree is used to locate the number $43$. Which of the following probe sequences are possible and which are not? Explain.$\begin{array}{llllll} \text{(a)} ...
27 votes
5 answers
240