English

From Discrepancy to Majority

Data Structures and Algorithms 2018-03-01 v1

Abstract

We show how to select an item with the majority color from nn two-colored items, given access to the items only through an oracle that returns the discrepancy of subsets of kk items. We use n/k2+O(k)n/\lfloor\tfrac{k}{2}\rfloor+O(k) queries, improving a previous method by De Marco and Kranakis that used nk+k2/2n-k+k^2/2 queries. We also prove a lower bound of n/(k1)O(n1/3)n/(k-1)-O(n^{1/3}) on the number of queries needed, improving a lower bound of n/k\lfloor n/k\rfloor by De Marco and Kranakis.

Cite

@article{arxiv.1512.06488,
  title  = {From Discrepancy to Majority},
  author = {David Eppstein and Daniel S. Hirschberg},
  journal= {arXiv preprint arXiv:1512.06488},
  year   = {2018}
}

Comments

15 pages, 3 figures. Extended version of a paper to appear at LATIN 2016

R2 v1 2026-06-22T12:14:37.874Z