Randomized Range-Maxima inNearly-Constant Parallel Time

Given an array ofn input numbers, therange-maxima problem is that of preprocessing the data so that queries of the type “what is the maximum value in subarray [i..j]” can be answered quickly using one processor. We present a randomized preprocessing algorithm that runs inO(log*n) time with high probability, using an optimal number of processors on a CRCW PRAM; each query can be processed in constant time by one processor. We also present a randomized algorithm for a parallel comparison model. Using an optimal number of processors, the preprocessing algorithm runs inO(α (n)) time with high probability; each query can be processed inO (α (n)) time by one processor. (As is standard, α(n) is the inverse of Ackermann function.) A constant time query can be achieved by some slowdown in the performance of the preprocessing stage.

[1]  P. Ragde The parallel simplicity of compaction and chaining , 1990 .

[2]  Robert E. Tarjan,et al.  Scaling and related techniques for geometry problems , 1984, STOC '84.

[3]  Uzi Vishkin,et al.  Strutural Parallel Algorithmics , 1991, ICALP.

[4]  Leslie G. Valiant,et al.  Fast probabilistic algorithms for hamiltonian circuits and matchings , 1977, STOC '77.

[5]  Gad M. Landau,et al.  Efficient pattern matching with scaling , 1990, SODA '90.

[6]  Uzi Vishkin,et al.  Efficient Parallel Triconnectivity in Logarithmic Time , 1988, AWOC.

[7]  Torben Hagerup Fast Parallel Generation of Random Permutations , 1991, ICALP.

[8]  Allan Borodin,et al.  Routing, Merging, and Sorting on Parallel Models of Computation , 1985, J. Comput. Syst. Sci..

[9]  Uzi Vishkin,et al.  Recursive *-tree parallel data-structure , 1989, 30th Annual Symposium on Foundations of Computer Science.

[10]  Robert E. Tarjan,et al.  Fast Algorithms for Finding Nearest Common Ancestors , 1984, SIAM J. Comput..

[11]  Richard J. Lipton,et al.  Lower Bounds for Constant Depth Circuits for Prefix Problems , 1983, ICALP.

[12]  Uzi Vishkin,et al.  Finding the maximum, merging and sorting in a parallel computation model , 1981, CONPAR.

[13]  Yossi Matias,et al.  Fast hashing on a PRAM—designing by expectation , 1991, SODA '91.

[14]  Ravi B. Boppana The Average-Case Parallel Complexity of Sorting , 1989, Inf. Process. Lett..

[15]  Leslie G. Valiant,et al.  Parallelism in Comparison Problems , 1975, SIAM J. Comput..

[16]  Rüdiger Reischuk Probabilistic Parallel Algorithms for Sorting and Selection , 1985, SIAM J. Comput..

[17]  Shiva Chaudhuri Tight bounds for the chaining problem , 1991, SPAA '91.

[18]  Uzi Vishkin,et al.  Converting high probability into nearly-constant time—with applications to parallel hashing , 1991, STOC '91.

[19]  Paul F. Dietz Heap Construction in the Parallel Comparison Tree Model , 1992, SWAT.

[20]  Uzi Vishkin,et al.  Towards a theory of nearly constant time parallel algorithms , 1991, [1991] Proceedings 32nd Annual Symposium of Foundations of Computer Science.

[21]  Noga Alon,et al.  The Average Complexity of Deterministic and Randomized Parallel Comparison-Sorting Algorithms , 1988, SIAM J. Comput..

[22]  Yossi Azar,et al.  Tight Comparison Bounds on the Complexity of Parallel Sorting , 2018, SIAM J. Comput..

[23]  Robert E. Tarjan,et al.  Efficiency of a Good But Not Linear Set Union Algorithm , 1972, JACM.

[24]  Larry Rudolph,et al.  Counting and Packing in Parallel , 1986, ICPP.

[25]  H. Chernoff A Measure of Asymptotic Efficiency for Tests of a Hypothesis Based on the sum of Observations , 1952 .