Sorts
Insertion Sort
Insertion sortInsertion sort is a simple sorting algorithm that works the way we sort playing cards in our hands.The array is virtually split into a sorted and an unsorted part. Values from the unsorted part are picked and placed at the correct position in the sorted part.
Example :
.........