Year: 2023
Type: conference-paper
Abstract: A suffix tree is a trie-like data structure that stores every suffix of an input string of length n. Finding the Suffix Tree of a given string is a well-studied and classic problem. A compressed suffix tree is constructible in O(n) time using the well-known algorithm of McCreight (JACM, 1976). Suffix trees alongside with hashing are two powerful tools in solving location-sensitive string problems. Many well-studied fundamental string problems such as String Matching, Longest Palindrome Substring (LPS), Longest Common Substring (LCS), and Longest Common Prefix (LCP) queries are location-sensitive and have linear time solutions via reductions to suffix tree. Inspired by suffix trees, we study location-sensitive string problems LCP, LPS, and LCS in the Massively Parallel Computation (MPC) model. Our algorithms extensively utilize a novel data structure for answering O(n1 + ε) arbitrary LCPqueries, called an LCPQ oracle, in O(1) rounds and with Õ(n1 + ε) total memory. Using our LCPQ oracle we are able to give the first O(1)-round, Õ(n) total memory algorithm in MPC for LPS and an O(1)-round LCS solution using Õ(n1 + ε) total memory, beating previous state-of-the-art techniques for both problems. Furthermore, we give an O(1/ε)-round MPC algorithm for constructing suffix arrays and suffix trees utilizing our LCPQ oracle, and demonstrate reductions for LPS and LCS to suffix tree in O(1) rounds of MPC. Finally, we show that in the Adaptive Massively Parallel Computation (AMPC) model, we can build a fully-functional suffix tree for a given input string in O(1) rounds and with Õ(n) total memory for any constant ε > 0.
Language: English
Subfield: Theoretical Computer Science
Field: Mathematics
Domain: Physical Sciences
Open Access status: hybrid
OpenAlex ID: W4378895342
