retagged by
451 views
0 votes
0 votes

Construct OBST with the identifier set (a1, a2, a3) =(end , goto, print) with  p(1..3) = (0.05, 0.2, 0.1)  and q(0..3) = (0.2, 0.1,0.2, 0.05)

What is the cost of a OBST ? What are the nodes present in the 2nd level of OBST if the root is present in level one ?

  • 2.55 , print , goto

  • 2.45 , goto , end

  • 2.15, end, print

  • 2.7, end, goto

retagged by

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
2
0 votes
0 votes
1 answer
3
0 votes
0 votes
1 answer
4
supraja asked Apr 28, 2015
4,264 views
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...