4. Given the following keys and their probabilities of searching A 0.2 B с D E 0.1 0.2 0.4 0.1 Construct the m-table and the r-table and determine (a) the Average number of searches needed from the optimum binary search tree. Also, construct the optimum binary search tree.

icon
Related questions
Question
4. Given the following keys and their probabilities of searching
A
0.2
B
с
D
E
0.1
0.2
0.4
0.1
Construct the m-table and the r-table and determine (a) the Average number of searches
needed from the optimum binary search tree.
Also, construct the optimum binary search tree.
Transcribed Image Text:4. Given the following keys and their probabilities of searching A 0.2 B с D E 0.1 0.2 0.4 0.1 Construct the m-table and the r-table and determine (a) the Average number of searches needed from the optimum binary search tree. Also, construct the optimum binary search tree.
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer