Question
Which of the following can be recurrence relation(s) corresponding to an algorithm with time complexity ?
Official answer and solution
- Official answer
- A and B
- From
- Official GATE 2026 answer key
Solution
Solve each recurrence relation using telescoping sums or the Master Theorem.
Evaluating each option:
- (A) with unrolls to .
- (B) : by the Master Theorem (, ), .
- (C) gives .
- (D) gives .
Therefore, (A) and (B) have time complexity .
Final answer
Options (A), (B)
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 2 (CS2)
- Question
- 25 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.