PlumX Metrics
Embed PlumX Metrics

All-Pairs Suffix-Prefix on Dynamic Set of Strings

Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), ISSN: 1611-3349, Vol: 14899 LNCS, Page: 192-203
2025
  • 0
    Citations
  • 0
    Usage
  • 0
    Captures
  • 0
    Mentions
  • 0
    Social Media
Metric Options:   Counts1 Year3 Year

Conference Paper Description

The all-pairs suffix-prefix (APSP) problem is a classical problem in string processing which has important applications in bioinformatics. Given a set S={S,…,S} of k strings, the APSP problem asks one to compute the longest suffix of S that is a prefix of S for all k ordered pairs ⟨S,S⟩ of strings in S. 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 S arrives to the current set S={S,…,S} of i-1 strings, to compute (1) the longest suffix of S that is a prefix of S and (2) the longest prefix of S that is a suffix of S for all 1≤j≤i. We propose an O(n)-space data structure which computes (1) and (2) in O(|S|logσ+i) time for each new given string S, where n is the total length of the strings.

Provide Feedback

Have ideas for a new metric? Would you like to see something else here?Let us know