Concept Flow - Insertion Sort Algorithm
Start with second element i=1
Compare current element with elements before it
Shift elements greater than current to the right
Insert current element at correct position
Increment i
i < array length?
No→Sorted array ready
↩Back to Compare
Insertion sort picks each element from the second position and inserts it into the sorted part on the left by shifting larger elements right.
