Question: Question 2. Solve the recurrences below: a/ Tin) = 2T(n/3) +nign b/T(n) = 3T(n/5) + 1g?n c/T(n) =T(n/2) + 2 d/T(n) = 7T(n/2) +n? e/
Question 2. Solve the recurrences below: a/ Tin) = 2T(n/3) +nign b/T(n) = 3T(n/5) + 1g?n c/T(n) =T(n/2) + 2" d/T(n) = 7T(n/2) +n? e/ T(n) = 3.T(n-2) +C Question 3. Use Merge-Sort to sort the following list (show all steps) 122 | 155 | 10 | 3 | 4 | 1 Question 4. Use Quick-sort to sort the same list above. Choose median-of-three as pivot
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
