Back to results

University of Waterloo

A Las Vegas Algorithm for the Ordered Majority Problem

Abstract

dc:description.abstract

In this thesis, we study the majority problem using ordered comparisons under the Las Vegas randomized algorithm model. The majority problem asks whether a given set of n elements, each with some colour, has a colour which appears on more than half of the elements. We focus on algorithms for this problem whose fundamental operation is to compare two elements, and in particular the comparison returns one of {<, =, >}. Additionally, we are interested specifically in Las Vegas randomized algorithms for this problem, which solve the problem correctly in all cases but whose running time is a random variable. Interestingly, most previous work studying this problem considers a different model where comparisons return just whether two elements are equal or not, instead of providing ordered information. Our contribution is a novel Las Vegas algorithm that uses only n + o(n) comparisons in the expectation, compared to 7n/6 + o(n) comparisons required in the expectation by the previous best algorithm for this problem.

Degree

thesis:*
Grantor dc:publisher
University of Waterloo
Year dc:date.issued
2022

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Baral, Ben
Advisor dc:contributor.advisor
  • Munro, J. Ian

Subjects

dc:subject × 5

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
http://hdl.handle.net/10012/18852

Chain of custody

source
Harvested from
University of Waterloo
Base URL
dspacemainprd01.lib.uwaterloo.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Baral, Ben. A Las Vegas Algorithm for the Ordered Majority Problem. University of Waterloo, 2022. http://hdl.handle.net/10012/18852