Sorting Techniques (Recursive)
Set A
a) Sort a random array of n integers (accept the value of n from user) in ascending order by using a recursive Merge sort algorithm.
b) Sort a random array of n integers (accept the value of n from user) in ascending order by using recursive Quicksort algorithm.
Set B
a) Read the data from the ‘employee.txt’ file and sort on age using Merge sort/ Quicksort and write the sorted data to another file 'sortedemponage.txt'.
Set A
a) Sort a random array of n integers (accept the value of n from user) in ascending order by using a recursive Merge sort algorithm.
b) Sort a random array of n integers (accept the value of n from user) in ascending order by using recursive Quicksort algorithm.
Set B
a) Read the data from the ‘employee.txt’ file and sort on age using Merge sort/ Quicksort and write the sorted data to another file 'sortedemponage.txt'.
1 Comments
👍👍👍
ReplyDelete