Back to the 2024 paper

Module 1: Introduction

20247m

What is the Master's Theorem? State the general form and the three cases of the theorem. Use it to solve the following recurrence relations:
(i) T(n)=2T(n/2)+nT(n) = 2T(n/2) + n
(ii) T(n)=3T(n/2)+n2T(n) = 3T(n/2) + n^2
(iii) T(n)=2T(n/2)+n/lognT(n) = 2T(n/2) + n/\log n
Explain which case applies in each situation.

Similar questions