Optimal In-Place Suffix Sorting
Zhize Li, Jian Li, Hongwei Huo

TL;DR
This paper introduces the first in-place, optimal time and space suffix array construction algorithms for integer and read-only alphabets, resolving longstanding open problems in the field.
Contribution
It presents the first in-place linear time suffix sorting algorithms for integer alphabets, including read-only cases, and an optimal in-place $O(n ext{log} n)$ algorithm for general alphabets.
Findings
First in-place linear time suffix sorting for integer alphabets.
Optimal in-place suffix sorting for read-only integer alphabets with $||=O(n)$.
In-place $O(n ext{log} n)$ suffix sorting for general alphabets.
Abstract
The suffix array is a fundamental data structure for many applications that involve string searching and data compression. Designing time/space-efficient suffix array construction algorithms has attracted significant attention and considerable advances have been made for the past 20 years. We obtain the \emph{first} in-place suffix array construction algorithms that are optimal both in time and space for (read-only) integer alphabets. Concretely, we make the following contributions: 1. For integer alphabets, we obtain the first suffix sorting algorithm which takes linear time and uses only workspace (the workspace is the total space needed beyond the input string and the output suffix array). The input string may be modified during the execution of the algorithm, but should be restored upon termination of the algorithm. 2. We strengthen the first result by providing the first…
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.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · Network Packet Processing and Optimization · Advanced Image and Video Retrieval Techniques
