Question: The sorting methods that you do are bubble sort, selection sort, insertion sort, and merge sort. state and explain what sorting method is best for
The sorting methods that you do are bubble sort, selection sort, insertion sort, and merge sort. state and explain what sorting method is best for the following cases:
a. There are not many sorted data and some of the data are already sorted
b. the sorted data is not much and the data is arranged randomly
c. Many sorted data and some of the data are already sorted
d. many sorted data and randomly arranged data
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
