Skip to main navigation Skip to search Skip to main content

On Strictly Output-Sensitive Color Frequency Reporting

Research output: Chapter in Book/Report/Conference proceedingConference contributionAcademicpeer-review

Abstract

Given a set of n colored points P⊂Rd we wish to store P such that, given some query region Q, we can efficiently report the colors of the points appearing in the query region, along with their frequencies. This is the color frequency reporting problem. We study the case where query regions Q are axis-aligned boxes or dominance ranges. If Q contains k colors, the main goal is to achieve “strictly output-sensitive” query time O(f(n)+k). We show that, for every s∈{2,⋯,n}, there exists a simple O(nslogsn)-size data structure for points in R2 that allows frequency reporting queries in O(logn+klogsn) time. Furthermore, we give a lower bound for the weighted version of the problem in the arithmetic model, proving that with O(m) space one can not achieve query times better than Ωϕlog(n/ϕ)log(2m/n), where ϕ is the number of possible colors. This means that our data structure is near-optimal. We extend these results to higher dimensions as well. Finally, we give an O(n1+ε+mlogn+K)-time algorithm that can answer m dominance queries R2 with total output complexity K, while using only linear working space.

Original languageEnglish
Title of host publicationSOFSEM 2026
Subtitle of host publicationTheory and Practice of Computer Science - 51st International Conference on Current Trends in Theory and Practice of Computer Science, SOFSEM 2026, Proceedings
EditorsJakub Kozik, Alexander Wolff
PublisherSpringer
Pages246-259
Number of pages14
ISBN (Print)9783032178008
DOIs
Publication statusPublished - 13 Feb 2026
Event51st International Conference on Current Trends in Theory and Practice of Computer Science, SOFSEM 2026 - Krakow, Poland
Duration: 9 Feb 202613 Feb 2026

Publication series

NameLecture Notes in Computer Science
Volume16448 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference51st International Conference on Current Trends in Theory and Practice of Computer Science, SOFSEM 2026
Country/TerritoryPoland
CityKrakow
Period9/02/2613/02/26

Bibliographical note

Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Switzerland AG 2026.

Keywords

  • Data structure
  • Lower bound
  • Range Searching

Fingerprint

Dive into the research topics of 'On Strictly Output-Sensitive Color Frequency Reporting'. Together they form a unique fingerprint.

Cite this