Related Articles

Related Articles

GATE | GATE 2017 MOCK II | Question 24
  • Last Updated : 31 Jan, 2017

Let f(n) = Σ [(log(n/2i) +100] where i limits from 0 to k, and n = 2k.

Find the time complexity of f(n).
(A) θ(n)
(B) θ(nlogn)2
(C) θ(logn)
(D) θ(logn)2

Answer: (D)

Explanation: rsz_sigma

Quiz of this Question


My Personal Notes arrow_drop_up
Recommended Articles
Page :