Engineering & Science
GATE Computer Science
GATE Computer Science Master theorem practice questions and solutions
7 questions on Master theorem, part of Asymptotic Analysis in the GATE CS Algorithms syllabus. Every question has a worked solution and an explanation of why each wrong option fails. Open a question to attempt it and see the answer.
- Questions
- 7 questions
- Easy
- 2 easy
- Medium
- 4 medium
- Hard
- 1 hard
Questions
- 1What is the solution of T(n) = 4T(n/2) + n^2?Medium
- 2What is the solution of T(n) = 2T(n/2) + n?Easy
- 3What is the solution of the recurrence T(n) = 8T(n/2) + n^2?Medium
- 4What is the solution of T(n) = 3T(n/4) + n log n?Hard
- 5What is the solution of the recurrence T(n) = 9T(n/3) + n?Easy
- 6What is the solution of the recurrence T(n) = 2T(n/4) + √(n)?Medium
- 7What is the solution of the recurrence T(n) = 2T(n/2) + n with T(1) = 1?Medium
Practise all GATE CS Algorithms questions with filters