Written Assignment
Question 1
Question 6.3.5 in The Design and Analysis of Algorithms
Question 2
- Construct a 2 3 tree for the list a,m,b,i,d,e,x,t,r,o,u,s,l,y. Use the alphabetical order of the letters and insert them successively starting with the empty tree.
- Assuming that the probabilities of searching for each of the keys (i.e., the letters) are the same, find the largest number and the average number of key comparisons for successful searches in this tree.
Question 3
Question 6.3.9 in The Design and Analysis of Algorithms
Question 4
Question 9.1.12 in The Design and Analysis of Algorithms
Reviews
There are no reviews yet.