Question
Consider the following recurrence relations:
For all ,
Assume that for all , and .
Which one of the following options is correct?
Official answer and solution
- Official answer
- A
- From
- Official GATE 2026 answer key
Solution
Solve first using the Master Theorem, then substitute the asymptotic bound for into the recurrence for .
- Solve :
- Here , so .
- Since for , Case 1 of the Master Theorem gives:
- Solve :
- Here , so .
- Since and , we have for .
- By Case 1 of the Master Theorem, .
Final answer
Option (A)
Common trap
Assuming dominates without checking that .
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2026 Computer Science and Information Technology - Session 1 (CS1)
- Question
- 17 of 65
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.