CBSE Class 11 Computer Science Question 56 of 82

Lists in Python — Question 21

Back to all questions
21
Question

Question 16

What is the basic principle of sorting in insertion sort?

Answer

In insertion sort, for each pass, the correct position for the current element is found by comparing adjacent elements before the current position and sliding larger elements up until an element less than the current element is found.