I have written programs in C for sorting algorithms such as Selection, Insertion, Merge and Quick Sort.
It creates 5 files with random 1 lakh numbers in it and then sorts it on the basis of the algorithm.
Lastly, the program also does a time comparison for the algorithms- Selection vs Insertion sort and Merge vs Quick sort
I have written programs in C for sorting algorithms such as Selection, Insertion, Merge and Quick Sort. It creates 5 files with random 1 lakh numbers in it and then sorts it on the basis of the algorithm. Lastly, the program also does a time comparison for the algorithms- Selection vs Insertion sort and Merge vs Quick sort