-
Add the code for the 3 quadratic sorting algorithms to the sorting template program. Add the appropriate lines of code to count the number of steps for each algorithm. The student lesson provides an example of counting for the bubbleSort
method.
-
Test each sorting algorithm for the number of steps to sort 100, 200, 400 and 800 integers.
-
Record your answers below.
-
Recursive mergesort will be studied in Lesson A18, Merge and MergeSort.
- You will turn in this lab with Lab Assignment A18.2, MergeSort.