Minimal Suffix and Rotation of a Substring in Optimal Time
Tomasz Kociumaka

TL;DR
This paper introduces an optimal data structure for minimal suffix and rotation queries on substrings, enabling constant-time answers after linear preprocessing, leveraging Lyndon words and advanced algorithmic tools.
Contribution
It presents a novel, optimal data structure for minimal suffix and rotation queries, extending to concatenations, with linear preprocessing and constant query time.
Findings
Achieves constant-time minimal suffix and rotation queries after linear preprocessing.
Extends query capabilities to concatenations of O(1) substrings.
Utilizes Lyndon words, fusion trees, and order isomorphism in data structure design.
Abstract
For a text given in advance, the substring minimal suffix queries ask to determine the lexicographically minimal non-empty suffix of a substring specified by the location of its occurrence in the text. We develop a data structure answering such queries optimally: in constant time after linear-time preprocessing. This improves upon the results of Babenko et al. (CPM 2014), whose trade-off solution is characterized by product of these time complexities. Next, we extend our queries to support concatenations of substrings, for which the construction and query time is preserved. We apply these generalized queries to compute lexicographically minimal and maximal rotations of a given substring in constant time after linear-time preprocessing. Our data structures mainly rely on properties of Lyndon words and Lyndon factorizations. We combine them with further…
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.
