Optimal Randomized Algorithms for Local Sorting and Set-Maxima

Authors:
  • WGWayne Goddard
    Wayne Goddard
  • CKClaire Kenyon
    Claire Kenyon
  • VKValerie King
    Valerie King
  • LSLeonard J. Schulman
    Leonard J. Schulman

Abstract
Randomized algorithms for two sorting problems are presented. In the local sorting problem, a graph is given in which each vertex is assigned an element of a total order, and the task is to determine the relative order of every pair of adjacent vertices. In the set-maxima problem, a collection of sets whose elements are drawn from a total order is given, and the task is to determine the maximum element in each set. Lower bounds for the problems in the comparison model are described and it is shown that the algorithms are optimal within a constant factor.