Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Code a C# program to compare two of the following sorting methods. Select one fr

ID: 3562676 • Letter: C

Question

Code a C# program to compare two of the following sorting methods. Select one from each group.

Group 1: Shell Sort, Comb Sort, Counting Sort, and Bucket Sort.

Group 2: Merge Sort and Heapsort.

First show that each of your method worked by displaying the sorted data using 50 random data elements. Make different arrays for Group 1 and Group 2 methods. Second, show how efficient the methods are by comparing the measurements of both methods using 50,000 random data elements.
Submit the captured output screen with the text of codes.

Explanation / Answer

GROUP 1:

shell sort

counting sort

comb sort

GROUP 2:

merge sort

heap sort