Open In App

Algorithms | Analysis of Algorithms (Recurrences) | Question 4

Suppose T(n) = 2T(n/2) + n, T(0) = T(1) = 1 Which one of the following is false. ( GATE CS 2005)
a) T(n) = O(n^2)
b) T(n) = (nLogn)
c) T(n) = (n^2)
d) T(n) = O(nLogn) (A) A (B) B (C) C (D) D
Answer:(C)
Explanation: See question 4 of https://www.geeksforgeeks.org/data-structures-and-algorithms-set-23/amp/ for explanation.
Quiz of this Question
Article Tags :