Computer scienceAlgorithms and Data StructuresAlgorithmsArray algorithmsSorting algorithms

Insertion sort

Element index

Report a typo

An array below is sorted ascendingly with insertion sort.

{ 8, 3, 7, 8, 6, 5, 4 }

After four full iterations of the algorithm, what will be the index of number 77? Remember that indexation starts with 0.

Enter a number
___

Create a free account to access the full topic