Write an efficient version of Shellsort and compare performance when the following increment sequences are used:
a. Shell’s original sequence
b. Hibbard’s increments
c. Knuth’s increments:
d. Gonnet’s increments:
and
(with h1 = 1 if h2 = 2)
e. Sedgewick’s increments
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.