hacktoberfest_2022 icon indicating copy to clipboard operation
hacktoberfest_2022 copied to clipboard

Added the code for insertion sort

Open Akriti-007 opened this issue 1 year ago • 1 comments

In this pull request, I have added the code for insertion sort in cpp with comments. Insertion sort is one of the sorting algorithms with time complexity of O(n2) for the average and worst case and O(n) for the best case. This code shows the simple implementation of insertion sort and printing of the elements before and after the usage of the sorting algorithm.

Thanks for reading the pull request!!

Akriti-007 avatar Oct 01 '22 12:10 Akriti-007

please follow the id and mssg here i will merge it after 2 days bcs more than 150 pr are pending

markandey007 avatar Oct 09 '22 08:10 markandey007