Question: Suppose I have a file containing 792 data records and I use Shell Sort to sort them. A. Based on Knuths sequence I should use

Suppose I have a file containing 792 data records and I use Shell Sort to sort them.

A. Based on Knuths sequence I should use K values of 121 40 13 4 1.

B. There should be 5 passes.

C. Shell sort optimizes the use of insertion sort on successive passes.

D. (a) and (b).

E. All of the above.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!