question archive Algorithm Development Assignment Shellsort 1
Subject:SociologyPrice: Bought3
Algorithm Development Assignment
Shellsort
1. Show the result of running Shellsort on the input 9,8,7,6,5,4,3,2,1 using increments 1,3,7.
Type and save your work in a document and upload to the assignment drop-box. You do not need to include a cover sheet, but you do need to put your name, date, assignment number and instructor's name at the top of the page.
Note: The results should be in a table similar to this:
Submit a screenshot of the executed program and the code of the program.
Original |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
after 7-sort |
|||||||||
after 7-sort |
|||||||||
after 7-sort |