← Quiz: Sorting Basics: all 13 questions
Quiz: Sorting Basics · Question 6 of 13
How much extra memory do bubble, selection and insertion sort need?
How much extra memory do bubble, selection and insertion sort need?
- A.O(1)
- B.O(log n)
- C.O(n)
- D.O(n²)
Answer & explanation
Correct answer: O(1)
All three sort in place, using only a few variables.
Can you get the rest right without peeking?
Take the timed Quiz: Sorting Basics quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →