• DocumentCode
    1832100
  • Title

    Sorting strings and constructing digital search trees in parallel

  • Author

    JáJá, Joseph F. ; Ryu, Kwan Woo ; Vishkin, Uzi

  • Author_Institution
    Dept. of Electr. Eng., Maryland Univ., College Park, MD, USA
  • fYear
    1994
  • fDate
    26-29 Apr 1994
  • Firstpage
    349
  • Lastpage
    356
  • Abstract
    We describe two simple optimal-work parallel algorithms for sorting a list L=(X1,X2,...,Xm) of m strings over an arbitrary alphabet Σ, where Σi=1m|Xi|=n. The first algorithm is a deterministic algorithm that runs in O((log2 m)/(log log m)) time and the second is a randomized algorithm that runs in O(log m) time. Both algorithms use O(m log(m)+n) operations. Compared to the best known parallel algorithms for sorting strings, the algorithms offer the following improvements: the total number of operations used by the algorithms is optimal while all previous parallel algorithms use a non-optimal number of operations; we make no assumption about the alphabet while the previous algorithms assume that the alphabet is restricted to {1,2,..., nO(1)}; the computation model assumed by the algorithms is the Common CRCW PRAM unlike the known algorithms that assume the Arbitrary CRCW PRAM; and the presented algorithms use O(m log m+n) space, while previous parallel algorithms use O(n1+ε ) space, where ε is a positive constant. We also present optimal-work parallel algorithms to construct a digital search tree for a given set of strings and to search for a string in a sorted list of strings. We use the parallel sorting algorithms to solve the problem of determining a minimal starting point of a circular string with respect to lexicographic ordering
  • Keywords
    computational complexity; parallel algorithms; search problems; sorting; trees (mathematics); Common CRCW PRAM; arbitrary alphabet; circular string; computation model; deterministic algorithm; digital search tree; lexicographic ordering; minimal starting point; parallel digital search trees; parallel sorting algorithms; randomized algorithm; simple optimal-work parallel algorithms; sorted list; string sorting; Computational modeling; Educational institutions; Parallel algorithms; Phase change random access memory; Sorting;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Parallel Processing Symposium, 1994. Proceedings., Eighth International
  • Conference_Location
    Cancun
  • Print_ISBN
    0-8186-5602-6
  • Type

    conf

  • DOI
    10.1109/IPPS.1994.288278
  • Filename
    288278