Fundamentals of Algorithms

Question #55

Read the question, compare the options, and review the correct answer below.

CS502 · Final-term only#55

What is the solution to the recurrence T(n) = T(n/2)+n, T(1) = 1

  1. A
    ? ?O(logn)
  2. B
    ? ?O(n) (Page 37)
  3. C
    ? ?O(nlogn)
  4. D
    ? ?O(2n)
Show correct answer

Correct answer: B. ? ?O(n) (Page 37)

Check community answers against your course notes.
← More practice questionsTake a timed test