Shell Sort

Shellsort, also known as Shell sort or Shell's method, is an in-place comparison sort. It generalizes an exchanging sort, such as insertion or bubble sort, by starting the comparison and exchange of elements with elements that are far apart before finishing with neighboring elements. Starting with far apart elements can move some out-of-place elements into position faster than a simple nearest neighbor exchange. Donald Shell published the first version of this sort in 1959.[1][2] The running time of Shellsort is heavily dependent on the gap sequence it uses. For many practical variants, determining their time complexity remains an open problem.

For more information about Shell Sort check the Wikipedia article here

ZME Science posts about Shell Sort

Sorting algorithms illustrated through folk dances

Thu, Apr 14, 2011

0 Comments

Various simulations of algorithms can be seen everywhere, especially in nature, but a recent project from the Sapientia University, Romania is definitely one of the most imaginative and novel initiatives of illustrating algorithms. The folks at Sapientia University demonstrate how different sorting algorithms work with numbered people dancing traditional Central European folk songs and arranging [...]

Subscribe for FREE!

Popular This Week

Drop us a line!

Tip us on news, scientific reports and studies, scientific advances, science art, interesting phenomena or any kind of science related material. Just write to andrei@zmescience.com.