Sorting Properties

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/11

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 2:52 AM on 4/26/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

12 Terms

1
New cards

in-place; less; n; structure; not

A sorting algorithm is __________ (which measure space complexity) if it uses _____ than O(______) auxiliary memory. In other words, a sorting algorithm uses the same data structure as the _______ structure (it does _____ use an additional data structure)

2
New cards

adaptive

A sorting algorithm is ________ if it takes advantage of data being partially or totally sorted

3
New cards

stable

A sorting algorithm is ________ if items with the same value stay in the same relative order (left item comes before right item)

4
New cards

yes; yes; yes

Is Bubble Sort:

  • Stable: ______

  • Adaptive: _____

  • In-Place: _______

5
New cards

yes; yes; yes

Is Cocktail Shaker Sort:

  • Stable: _____

  • Adaptive: ____

  • In-Place: _____

6
New cards

yes; yes; yes

Is Insertion Sort:

  • Stable: _____

  • Adaptive: _____

  • In-Place: _____

7
New cards

no; no; yes

Is Selection Sort:

  • Stable: _____

  • Adaptive: _____

  • In-Place: _____

8
New cards

no, no; no; yes

Is Heap Sort:

  • Stable: ____

  • Adaptive: _____

  • In-Place: _____ (if used a heap) or ______ (if you do heap logic yourself)

9
New cards

yes; no; no

Is Merge Sort:

  • Stable: _____

  • Adaptive: ______

  • In-Place: ______

10
New cards

no; no; yes

Is Quick Sort:

  • Stable: ____

  • Adaptive: _____

  • In-Place: _____

11
New cards

yes; no; no

Is Radix Sort:

  • Stable: ____

  • Adaptive: _____

  • In-Place: _____

12
New cards

no; yes

Is QuickSelect:

  • Stable: ______

  • In-Place: ______