Ask Question
2 April, 11:11

The insertion sort algorithm sorts using what technique?

+2
Answers (1)
  1. 2 April, 11:17
    0
    Iteration

    Explanation:

    The insertion sort is based on repetition of comparing one data array (or element in a list) with the others at its left to reorganize it, normally following a size criteria (from small to big or the other way around).

    At each iteration, the algorithm takes one element and compares it one by one to the others until it fit the specified criteria. Later on, it creates a space, moving the other elements, to insert it. Later, it goes to the next element and the iteration repeats all the way through. It has some advantages over other sorting algorithms because it is easy to deploy and program it in many different languages, but at the same time it can be terribly slow when sorting large amount of data.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “The insertion sort algorithm sorts using what technique? ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers