English

An FPT Algorithm for Splitting a Necklace Among Two Thieves

Combinatorics 2023-06-27 v1 Computational Complexity Computational Geometry Data Structures and Algorithms

Abstract

It is well-known that the 2-Thief-Necklace-Splitting problem reduces to the discrete Ham Sandwich problem. In fact, this reduction was crucial in the proof of the PPA-completeness of the Ham Sandwich problem [Filos-Ratsikas and Goldberg, STOC'19]. Recently, a variant of the Ham Sandwich problem called α\alpha-Ham Sandwich has been studied, in which the point sets are guaranteed to be well-separated [Steiger and Zhao, DCG'10]. The complexity of this search problem remains unknown, but it is known to lie in the complexity class UEOPL [Chiu, Choudhary and Mulzer, ICALP'20]. We define the analogue of this well-separability condition in the necklace splitting problem -- a necklace is nn-separable, if every subset AA of the nn types of jewels can be separated from the types [n]A[n]\setminus A by at most nn separator points. By the reduction to the Ham Sandwich problem it follows that this version of necklace splitting has a unique solution. We furthermore provide two FPT algorithms: The first FPT algorithm solves 2-Thief-Necklace-Splitting on (n1+)(n-1+\ell)-separable necklaces with nn types of jewels and mm total jewels in time 2O(log)+m22^{O(\ell\log\ell)}+m^2. In particular, this shows that 2-Thief-Necklace-Splitting is polynomial-time solvable on nn-separable necklaces. Thus, attempts to show hardness of α\alpha-Ham Sandwich through reduction from the 2-Thief-Necklace-Splitting problem cannot work. The second FPT algorithm tests (n1+)(n-1+\ell)-separability of a given necklace with nn types of jewels in time 2O(2)n42^{O(\ell^2)}\cdot n^4. In particular, nn-separability can thus be tested in polynomial time, even though testing well-separation of point sets is coNP-complete [Bergold et al., SWAT'22].

Cite

@article{arxiv.2306.14508,
  title  = {An FPT Algorithm for Splitting a Necklace Among Two Thieves},
  author = {Michaela Borzechowski and Patrick Schnider and Simon Weber},
  journal= {arXiv preprint arXiv:2306.14508},
  year   = {2023}
}

Comments

16 pages, 7 figures

R2 v1 2026-06-28T11:14:15.550Z