GATE CS 2005 · Asymptotic Analysis & Recurrences

MCQ · 1 mark · Problem PROG-DIVC-0148

Suppose \(T (n) = 2T(n/2) + n,\) T(0)=T(1)=1 Which one of the following is FALSE?
  1. A
    T(n)=O(\(n^{2}\))
  2. B
    T(n)=\(\Theta\)(n log n)
  3. C
    T(n)=\(\Omega (n^{2}\))
  4. D
    T(n)=O(n log n)

Solve it on GATE DA practice →More Searching & Sorting Algorithms problems

Show the worked solutionOfficial GATE Answer Key: Option C.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/1373/gate2005-37

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com