Common

Shellsort

Sorting algorithm which uses multiple comparison intervals

Shellsort

Common card · No. 332966

Shellsort, also known as Shell sort or Shell's method, is an in-place comparison sort. It can be understood as either a generalization of sorting by exchange (bubble sort) or sorting by insertion (insertion sort). The method starts by sorting pairs of elements far apart from each other, then progressively reducing the gap between elements to be compared. By starting with far-apart elements, it can move some out-of-place elements into the position faster than a simple nearest-neighbor exchange. 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. The algorithm was first published by Donald Shell in 1959, and has nothing to do with shells.

Read on Wikipedia · Image Simpsons contributor, CC0

Open boosters, collect cards and trade them. Free to play.

Play for free
Shellsort – Common Wikipedia card | Wikiverse TCG