YOUR SUBJECT ENG201 Business and Technical English WritingChange subject ↗
Fundamentals of Algorithms

Question #8

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

CS502 · Midterm#8

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

  1. A
    O(logn)
  2. B
    O(n)
  3. C
    O(nlogn)
Show correct answer

Correct answer: B. O(n)

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