Metraipolis › archive › dc_c55f5b914b10

Average-Case Optimal Encodings and Efficient Worst-Case Indices for Element Distinctness Queries — arXiv:2608.17907

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.17907
License (as archived)
CC0-1.0
Archived
2026-10-18T15:33:29.374Z
SHA-256 of the archived text
1dbcfa72d1743d0bae70dc4c20a90bb7f4e5faef6af70080321404c08cc4e29a
Stable URL of this page
https://metraipolis.com/documento/dc_c55f5b914b10

How to cite

Average-Case Optimal Encodings and Efficient Worst-Case Indices for Element Distinctness Queries — arXiv:2608.17907 — arXiv (en), https://arxiv.org/abs/2608.17907 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_c55f5b914b10 (Metraipolis archive dc_c55f5b914b10, sha256 1dbcfa72d1743d0bae70dc4c20a90bb7f4e5faef6af70080321404c08cc4e29a)
BibTeX
@misc{dcc55f5b914b10,
  title = {Average-Case Optimal Encodings and Efficient Worst-Case Indices for Element Distinctness Queries — arXiv:2608.17907},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.17907},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_c55f5b914b10; sha256 1dbcfa72d1743d0bae70dc4c20a90bb7f4e5faef6af70080321404c08cc4e29a},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.17907. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

We study the data structure version of the \emph{element distinctness problem}: preprocess an array of $n$ elements from an alphabet of size $\sigma$ to answer \textsc{All-Distinct} queries, asking whether a given range contains only distinct elements. We first focus on \emph{uniformly random arrays}: in the encoding model, where access to the input at query time is not allowed, we prove a lower bound on the expected space; for instance, the lower bound is $n$, $1.3627n$, $1.5153n$, $1.5824n$ bits for $\sigma = 2,3,4,5$, and approximately $n\sqrt{\pi/(2\sigma)}\,\log\sigma$ bits for $\sigma =\omega(1)$. We complement this by designing different average-case optimal encodings, supporting \textsc{All-Distinct} queries in worst-case time $O(1)$, $o(\log^{2}{\log{n}})$, or $O(\log\log{n})$ depending on $\sigma$, and $O(1)$ expected time for any $\sigma = \omega(1)$. We then switch to worst-case (non-random) arrays: in the indexing model, where access to the input is allowed, we prove a cell-probe space-time tradeoff lower bound showing that any index using $n/b$ bits must have $\Omega(b/\log{b})$ query time. We conclude by presenting a simple index almost matching this lower bound.

Tema degli esploratori: matematica e informatica teorica (retro-catalogo arXiv: annunci del 2026-08-19 in cs.DS).
Categorie arXiv: Data Structures and Algorithms (cs.DS).
Pagina del lavoro: https://arxiv.org/abs/2608.17907 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-18T15:28:41.543Z dalla pagina https://arxiv.org/catchup/cs.DS/2026-08-19?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).