CSC 202 - Sorting and Hashing Homework Sorting You are given the list: 73, 25,66, 99,-5,0,23. In the problems below demonstrate how the numbers would be sorted, step-by- step. 1. Use the Bubble Sort...

1 answer below »
CSC 202 - Sorting and Hashing Homework
Sorting
You are given the list: 73, 25,66, 99,-5,0,23. In the problems below demonstrate how the numbers would be sorted, step-by- step.
1. Use the Bubble Sort located at: https://csawesome.runestone.academy/runestone/books/published/cppds/Sort/TheBubbleSort.html

Initial Order: 73, 25,66, 99,-5,0,23
Step 1:
Step 2:
.
.
2. Use the Selection Sort located at: https://csawesome.runestone.academy/runestone/books/published/cppds/Sort/TheSelectionSort.html
Initial Order: 73, 25,66, 99,-5,0,23
Step 1:
Step 2:
.
.
3. Use the Insertion Sort located at: https://csawesome.runestone.academy/runestone/books/published/cppds/Sort/TheInsertionSort.html
Initial Order: 73, 25,66, 99,-5,0,23
Step 1:
Step 2:
.
.
4. Use the Shell Sort located at: https://csawesome.runestone.academy/runestone/books/published/cppds/Sort/TheShellSort.html
Initial Order: 73, 25,66, 99,-5,0,23
Step 1:
Step 2:
.
.
5. Use the Merge Sort located at: https://csawesome.runestone.academy/runestone/books/published/cppds/Sort/TheMergeSort.html
Initial Order: 73, 25,66, 99,-5,0,23
Step 1:
Step 2:
.
.
6. Use the Quick Sort located at: https://csawesome.runestone.academy/runestone/books/published/cppds/Sort/TheQuickSort.html
Initial Order: 73, 25,66, 99,-5,0,23
Step 1:
Step 2:
.
.
Hashing - located at: https://csawesome.runestone.academy/runestone/books/published/cppds/SearchHash/Hashing.html
You are given a list of the following numbers: 33, 1, 0, 13, 45, 77, 19, 23, 39 54, 9, 101, 121
You have 7 buckets. You are going to use the Simple Hash Function Using Remainders to determine which of the seven buckets each number goes in and represent that below.
0
1
2
3
4
5
6
Answered Same DayMay 03, 2021

Solution

Kshitij Varshney answered on May 04 2021
29 Votes

Sorting/sort.txt
You are given the list: 73, 25,66, 99,-5,0,23. In the problems below demonstrate how the numbers would be sorted, step-by- step.
1. Use the Bubble Sort located
Psss...

Submit New Assignment

Copy and Paste Your Assignment Here