Fundamentals of Algorithms

Question #138

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

CS502 · Final-term only#138

Counting sort has time complexity:

  1. A
    ?O(n) Click here for detail
  2. B
    ?O(n+k)
  3. C
    ?O(k)
  4. D
    ?O(nlogn)
Show correct answer

Correct answer: A. ?O(n) Click here for detail

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