Tight Tradeoffs for Real-Time Approximation of Longest Palindromes in Streams
Pawe{\l} Gawrychowski, Oleg Merkurev, Arseny M. Shur, Przemys{\l}aw, Uzna\'nski

TL;DR
This paper establishes tight lower bounds and presents efficient algorithms for approximating the longest palindrome in streaming data, balancing space complexity and approximation accuracy.
Contribution
It provides the first tight bounds on space requirements and introduces practical algorithms for real-time palindrome approximation in streams.
Findings
Lower bounds rule out sublinear space for Las Vegas algorithms.
Monte Carlo algorithms achieve near-optimal space complexity.
A deterministic algorithm finds short palindromes exactly.
Abstract
We consider computing a longest palindrome in the streaming model, where the symbols arrive one-by-one and we do not have random access to the input. While computing the answer exactly using sublinear space is not possible in such a setting, one can still hope for a good approximation guarantee. Our contribution is twofold. First, we provide lower bounds on the space requirements for randomized approximation algorithms processing inputs of length . We rule out Las Vegas algorithms, as they cannot achieve sublinear space complexity. For Monte Carlo algorithms, we prove a lower bounds of bits of memory; here for approximating the answer with additive error , and for approximating the answer with multiplicative error . Second, we design three real-time algorithms for this problem.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
