SLIDE 1
1
SOME MORE DECREASE‐AND‐ CONQUER ALGORITHMS
Decrease by a constant factor Decrease by a variable amount
What questions do you have?
SHELL'S SORT – A QUICK RECAP
Insertion Sort on Steroids
SOME MORE DECREASE AND CONQUER ALGORITHMS Insertion Sort on - - PDF document
What questions do you have? Decrease by a constant factor Decrease by a variable amount SOME MORE DECREASE AND CONQUER ALGORITHMS Insertion Sort on Steroids SHELL'S SORT A QUICK RECAP 1 Shell's Sort We use the following gaps: 7,
Insertion Sort on Steroids
Then strike out any rows whose first number is even, and add up the remaining numbers in the second column.
5 1 2 3 4 10 6 7 8 9