Jump to content

Partial sorting

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Qwertyus (talk | contribs) at 12:42, 11 July 2012 (stub for now; must merge info from selection algorithm here). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

In computer science, partial sorting is a relaxed variant of the sorting problem. If sorting is the problem of permuting a list of items such that its elements all appear in order, then partial sorting amounts to finding a permutation such that some predetermined set of indexes appear in the position of the permutation that they would have in the sorted permutation; in other words, for each requested index i, element i of the partially sorted list contains order statistic i of the input list.

See also