Order-Preserving Squares in Strings

February 01, 2023 Β· Declared Dead Β· πŸ› Annual Symposium on Combinatorial Pattern Matching

πŸ‘» CAUSE OF DEATH: Ghosted
No code link whatsoever

"No code URL or promise found in abstract"

Evidence collected by the PWNC Scanner

Authors PaweΕ‚ Gawrychowski, Samah Ghazawi, Gad M. Landau arXiv ID 2302.00724 Category cs.DS: Data Structures & Algorithms Cross-listed cs.FL Citations 4 Venue Annual Symposium on Combinatorial Pattern Matching Last Checked 4 months ago
Abstract
An order-preserving square in a string is a fragment of the form $uv$ where $u\neq v$ and $u$ is order-isomorphic to $v$. We show that a string $w$ of length $n$ over an alphabet of size $Οƒ$ contains $\mathcal{O}(Οƒn)$ order-preserving squares that are distinct as words. This improves the upper bound of $\mathcal{O}(Οƒ^{2}n)$ by Kociumaka, Radoszewski, Rytter, and WaleΕ„ [TCS 2016]. Further, for every $Οƒ$ and $n$ we exhibit a string with $Ξ©(Οƒn)$ order-preserving squares that are distinct as words, thus establishing that our upper bound is asymptotically tight. Finally, we design an $\mathcal{O}(Οƒn)$ time algorithm that outputs all order-preserving squares that occur in a given string and are distinct as words. By our lower bound, this is optimal in the worst case.
Community shame:
Not yet rated
Community Contributions

Found the code? Know the venue? Think something is wrong? Let us know!

πŸ“œ Similar Papers

In the same crypt β€” Data Structures & Algorithms

Died the same way β€” πŸ‘» Ghosted