AlgorithmsMidterm
AlgorithmsMidterm
FALL 2020-2021
Question 1.(Searching)
a. Draw both tables m & s and fill in every table entry as returned
by MATRIX-CHAIN-ORDER(p).
Draw the recursion tree that represents the recursive calls during
the execution of the Quicksort (QS) algorithm for the input array
A=[23,93,4,67,52,9,44,67,1].
QS([23,93,4,67,52,9,44,67,1],1,9)
QS(?,?,?)
...
QS(?,?,?)
... ...