sugandha-kadp / Hacktoberfest2021-Task4

For Biggingers
6 stars 45 forks source link

Insertion Sort #51

Open hemant0011 opened 2 years ago

hemant0011 commented 2 years ago

In the Insertion sort technique, we assume that the first element in the list is already sorted and we begin with the second element. The second element is compared with the first and swapped if not in order. This process is repeated for all the subsequent elements.