a) Shell sort is performed on the following list of integers: [8,7,6,5,4,3,2,1] The gap sizes to use are 5, 3, 1. What i

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

a) Shell sort is performed on the following list of integers: [8,7,6,5,4,3,2,1] The gap sizes to use are 5, 3, 1. What i

Post by answerhappygod »

a) Shell sort is performed on the following list of
integers: [8,7,6,5,4,3,2,1]
The gap sizes to use are 5, 3, 1. What is the order in the list
after all swapping is complete for the gap sizes 5 and 3?
b) Merge sort is performed on the following list of
integers: [17,2,9,29,1,28,43,12]
What is the order in the list before the last merge necessary to
complete the sorting?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply