10,040 views
0 votes
0 votes
The cost of optimal binary serch tree for the identifier set (a1,a2,a3) = (do , if , while ) with p(1) =0.3,p(2) =0.2, p(3) = 0.15,                q(0) = 0.05,q(1) = 0.15,q(2) =0.1,q(3) =0.05 is ?

1 Answer

Related questions

0 votes
0 votes
1 answer
2
1 votes
1 votes
0 answers
3
$ruthi asked Nov 12, 2017
1,257 views
Let n=4, and (a1,a2,a3,a4) =(do,if,int,while).Let p (1••••••4) = (3,3,1,1) and q ( 0••••4) =(2,3,1,1,1). If you construct optimal cost binary search t...
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...