English

An efficient algorithm for identifying rainbow ortho-convex 4-sets in k-colored point sets

Computational Geometry 2024-12-23 v2 Combinatorics

Abstract

Let PP be a kk-colored set of nn points in the plane, 4kn4 \leq k \leq n. We study the problem of deciding if PP contains a subset of four points of different colors such that its Rectilinear Convex Hull has positive area. We show this problem to be equivalent to deciding if there exists a point cc in the plane such that each of the open quadrants defined by cc contains a point of PP, each of them having a different color. We provide an O(nlogn)O(n \log n)-time algorithm for this problem, where the hidden constant does not depend on kk; then, we prove that this problem has time complexity Ω(nlogn)\Omega(n \log n) in the algebraic computation tree model. No general position assumptions for PP are required.

Keywords

Cite

@article{arxiv.2404.06376,
  title  = {An efficient algorithm for identifying rainbow ortho-convex 4-sets in k-colored point sets},
  author = {David Flores-Peñaloza and Mario A. Lopez and Nestaly Marín and David Orden},
  journal= {arXiv preprint arXiv:2404.06376},
  year   = {2024}
}

Comments

17 pages, 4 figures, accepted version

R2 v1 2026-06-28T15:48:54.757Z