What is the number of ordered elements in the array when sorted by insertion?
Insertion sort is the sorting algorithm in which the elements of the input sequence are viewed one by one, and each new incoming element is placed in a suitable place among the previously ordered elements [1]. Computational complexity - O (n ^ 2).
How many early ordered elements ?