Skip to main content
Cornell University
Learn about arXiv becoming an independent nonprofit.
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:1410.6433

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Data Structures and Algorithms

arXiv:1410.6433 (cs)
[Submitted on 23 Oct 2014 (v1), last revised 7 Apr 2016 (this version, v5)]

Title:Tight tradeoffs for approximating palindromes in streams

Authors:Paweł Gawrychowski, Przemysław Uznański
View a PDF of the paper titled Tight tradeoffs for approximating palindromes in streams, by Pawe{\l} Gawrychowski and Przemys{\l}aw Uzna\'nski
View PDF
Abstract:We consider computing the longest palindrome in a text of length $n$ in the streaming model, where the characters arrive one-by-one, and we do not have random access to the input. While computing the answer exactly using sublinear memory is not possible in such a setting, one can still hope for a good approximation guarantee.
We focus on the two most natural variants, where we aim for either additive or multiplicative approximation of the length of the longest palindrome. We first show that there is no point in considering Las Vegas algorithms in such a setting, as they cannot achieve sublinear space complexity. For Monte Carlo algorithms, we provide a lowerbound of $\Omega(\frac{n}{E})$ bits for approximating the answer with additive error $E$, and $\Omega(\frac{\log n}{\log(1+\varepsilon)})$ bits for approximating the answer with multiplicative error $(1+\varepsilon)$ for the binary alphabet. Then, we construct a generic Monte Carlo algorithm, which by choosing the parameters appropriately achieves space complexity matching up to a logarithmic factor for both variants. This substantially improves the previous results by Berenbrink et al. (STACS 2014) and essentially settles the space complexity.
Subjects: Data Structures and Algorithms (cs.DS)
Cite as: arXiv:1410.6433 [cs.DS]
  (or arXiv:1410.6433v5 [cs.DS] for this version)
  https://doi.org/10.48550/arXiv.1410.6433
arXiv-issued DOI via DataCite

Submission history

From: Przemysław Uznański [view email]
[v1] Thu, 23 Oct 2014 17:54:10 UTC (182 KB)
[v2] Sun, 4 Jan 2015 23:30:24 UTC (183 KB)
[v3] Fri, 20 Feb 2015 19:53:39 UTC (184 KB)
[v4] Thu, 25 Feb 2016 16:57:32 UTC (183 KB)
[v5] Thu, 7 Apr 2016 10:28:22 UTC (184 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Tight tradeoffs for approximating palindromes in streams, by Pawe{\l} Gawrychowski and Przemys{\l}aw Uzna\'nski
  • View PDF
  • TeX Source
view license
Current browse context:
cs.DS
< prev   |   next >
new | recent | 2014-10
Change to browse by:
cs

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Pawel Gawrychowski
Przemyslaw Uznanski
export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status