All-Pairs Suffix-Prefix on Fully Dynamic Set of Strings
Masaru Kikuchi, Shunsuke Inenaga

TL;DR
This paper introduces a data structure for efficiently solving the dynamic all-pairs suffix-prefix problem on a set of strings, supporting insertions and deletions with optimized time complexity.
Contribution
It presents the first data structure that handles fully dynamic APSP on strings with efficient update and query times.
Findings
Supports insertions of new strings in O(|S_i| log σ + i) time
Extends to handle deletions of strings
Uses O(n) space for the data structure
Abstract
The all-pairs suffix-prefix (APSP) problem is a classical problem in string processing which has important applications in bioinformatics. Given a set of strings, the APSP problem asks one to compute the longest suffix of that is a prefix of for all ordered pairs of strings in . In this paper, we consider the dynamic version of the APSP problem that allows for insertions of new strings to the set of strings. Our objective is, each time a new string arrives to the current set of strings, to compute (1) the longest suffix of that is a prefix of and (2) the longest prefix of that is a suffix of for all . We propose an -space data structure which computes (1) and (2) in $O(|S_i| \log…
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.
Taxonomy
TopicsAlgorithms and Data Compression · Network Packet Processing and Optimization · Natural Language Processing Techniques
