GATE CS 2021 Set 1 | Question 40

Algorithms › Algorithm Analysis · MCQ · 2 marks · Answer: C

  1. Question 40Algorithmsmcq2 marks
    Consider the following recurrence relation.
    Which one of the following options is correct?
    • A.
    • B.
    • C.
      ✓
    • D.

    Answer: C

    Solution

    The subproblem sizes sum to . With linear work per level and a geometrically shrinking total, the work is dominated by the top level, giving .

More GATE PYQ on Algorithm Analysis

All GATE CS Algorithms PYQ →

Attempt GATE CS 2021 Set 1 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →