Fundamentals of Algorithms

Question #237

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

CS502 · Final-term only#237

Counting sort has time complexity:

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

Correct answer: A. ?O(n)

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