Insertion sort works by:
- Choosing items at random
- Splitting the list in halves recursively
- Taking each item and inserting it into its correct place among the already-sorted items
- Repeatedly swapping neighbouring items through the whole list
Answer
C) Taking each item and inserting it into its correct place among the already-sorted items
Like sorting playing cards in your hand one at a time. SLO CS-11-B-02 · Understanding
Computer Science MCQ · More Unit 2: Computational Thinking and Algorithms MCQs · Practise