English

Sorting using non-binary comparisons

Combinatorics 2015-07-22 v1 Data Structures and Algorithms

Abstract

In this paper we investigate the problem of sorting a set of nn coins, each with distinct but unknown weights, using an unusual scale. The classical version of this problem, which has been well-studied, gives the user a binary scale, enabling them to determine which is the lighter/heavier of any two objects. We generalise this, considering a scale that accepts kk coins as input and returns the ttht^{\text{th}} lightest, for a fixed kk and tt. We consider this in both an on-line and off-line setting, and exhibit algorithms in both settings that are best-possible in terms of the order of the number of queries required.

Keywords

Cite

@article{arxiv.1507.05955,
  title  = {Sorting using non-binary comparisons},
  author = {Richard A. B. Johnson and Gabor Meszaros},
  journal= {arXiv preprint arXiv:1507.05955},
  year   = {2015}
}

Comments

17 pages

R2 v1 2026-06-22T10:15:53.844Z