Sorting multisets stably in minimum space (Q1338888): Difference between revisions

From MaRDI portal
RedirectionBot (talk | contribs)
Changed an Item
ReferenceBot (talk | contribs)
Changed an Item
 
(One intermediate revision by one other user not shown)
Property / MaRDI profile type
 
Property / MaRDI profile type: MaRDI publication profile / rank
 
Normal rank
Property / cites work
 
Property / cites work: Time bounds for selection / rank
 
Normal rank
Property / cites work
 
Property / cites work: Q3796732 / rank
 
Normal rank
Property / cites work
 
Property / cites work: Q4728256 / rank
 
Normal rank
Property / cites work
 
Property / cites work: Sorting numbers in linear expected time and optimal extra space / rank
 
Normal rank
Property / cites work
 
Property / cites work: Q3885184 / rank
 
Normal rank
Property / cites work
 
Property / cites work: Stable Sorting in Asymptotically Optimal Time and Extra Space / rank
 
Normal rank
Property / cites work
 
Property / cites work: Stable duplicate-key extraction with optimal time and space bounds / rank
 
Normal rank
Property / cites work
 
Property / cites work: Space-efficient parallel merging / rank
 
Normal rank
Property / cites work
 
Property / cites work: Stable minimum space partitioning in linear time / rank
 
Normal rank
Property / cites work
 
Property / cites work: Q4057549 / rank
 
Normal rank
Property / cites work
 
Property / cites work: Q5646378 / rank
 
Normal rank
Property / cites work
 
Property / cites work: Q3796767 / rank
 
Normal rank
Property / cites work
 
Property / cites work: Splitsort -- an adaptive sorting algorithm / rank
 
Normal rank
Property / cites work
 
Property / cites work: Sorting shuffled monotone sequences / rank
 
Normal rank
Property / cites work
 
Property / cites work: An implicit data structure supporting insertion, deletion, and search in \(O(\log ^ 2\,n)\) time / rank
 
Normal rank
Property / cites work
 
Property / cites work: Q4037442 / rank
 
Normal rank
Property / cites work
 
Property / cites work: Stable in situ sorting and minimum data movement / rank
 
Normal rank
Property / cites work
 
Property / cites work: Sorting and Searching in Multisets / rank
 
Normal rank
Property / cites work
 
Property / cites work: Simplified stable merging tasks / rank
 
Normal rank
Property / cites work
 
Property / cites work: Stable unmerging in linear time and constant space / rank
 
Normal rank
Property / cites work
 
Property / cites work: Quicksort for Equal Keys / rank
 
Normal rank

Latest revision as of 09:30, 23 May 2024

scientific article
Language Label Description Also known as
English
Sorting multisets stably in minimum space
scientific article

    Statements

    Sorting multisets stably in minimum space (English)
    0 references
    0 references
    0 references
    23 November 1994
    0 references
    We consider the problem of sorting a multiset of size \(n\) containing \(m\) distinct elements, where the \(i\)th distinct element appears \(n_ i\) times. Under the assumption that our model of computation allows only the operations of comparing elements and moving elements in the memory, \(\Omega (n \log n - \sum^ m_{i=1} n_ i \log n_ i + n)\) is known to be a lower bound for the computational complexity of the sorting problem. In this paper we present a minimum space algorithm that sorts stably a multiset in asymptotically optimal worst-case time. A Quicksort type approach is used, where at each recursive step the median is chosen as the partitioning element. To obtain a stable minimum space implementation, we develop linear-time in-place algorithms for the following problems, which have interest of their own: Stable unpartitioning: Assume that an \(n\)-element array \(A\) is stably partitioned into two subarrays \(A_ 0\) and \(A_ 1\). The problem is to recover \(A\) from its constituents \(A_ 0\) and \(A_ 1\). The information available is the partitioning element used and a bit array of size \(n\) indicating whether an element of \(A_ 0\) or \(A_ 1\) was originally in the corresponding position of \(A\). Stable selection: The task is to find the \(k\)th smallest element in a multiset of \(n\) elements such that the relative order of identical elements is retained.
    0 references
    stable unpartitioning
    0 references
    stable selection
    0 references
    minimum space algorithm
    0 references

    Identifiers