Count the comparisons
Exercise and reference answers
- Questions
- Answer
- 1
- Question
- Comparisons if the key is the first element
- Answer
- 1
- Question
- Iterations if the key is the middle value
- Answer
- 2
- Question
- Parts insertion sort divides the list into
- Answer
- 0
- Question
- Index value of the first element
- Instructions
- Type the number only.
Explanation
_Source: syllabus Computer Science, Ch 5 'Sorting' and Ch 6 'Searching'_