Question: 4. (10 points) Short answer questions. (a) (2 points) How many max heaps can you make with 5 distinct elements? (b) (2 points) Show the

4. (10 points) Short answer questions. (a) (2 points) How many max heaps can you make with 5 distinct elements? (b) (2 points) Show the heap produced by Build-MaxHeap with input 11,2,3,4,5) (c) (2 points) What is the average case run time for QUICKSORT? (d) (2 points) What is the worst case run time of BUCKETSoRT? (e) (2 points) When might INSERSIONSORT be better used than QuICKSORT
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
