Reading guarantees without overclaiming

A developer compares three sorting implementations using the guarantees below. All space bounds include active function calls. Which statements follow from the information provided? Select every correct statement.


Implementation

Stable

Worst-case time bound

Auxiliary space

A

Yes

O(n2)O(n^2)

O(1)O(1)

B

Yes

O(nlog⁡n)O(n\log n)

O(n)O(n)

C

No

O(n2)O(n^2)

O(log⁡n)O(\log n)

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Sorting Algorithms Questions: