



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




There are five problems each worth five points for a total of 25 points. Show all your work, partial credit will be awarded. Space is provided on the test for your work; if you use a blue book for additional workspace, sign it and return it with the test. No notes, no collaboration.
A B O o Ω ω Θ n log n n
n 3 n^3 + 40n^2 0. 01 n^3 − n^2 log n log n 1 2 n^ n^1000
^ TT
^ TT
%^ %ll
^ ee
^
HH HH
Show (in pictures) the process of delete max on this heap. Show two iterations of delete max, that is, remove the 18 and then the 16 from the heap.