Algorithms and combinatorial properties on shortest unique palindromic substrings

被引:7
|
作者
Inoue, Hiroe [1 ]
Nakashima, Yuto [1 ]
Mieno, Takuya [1 ]
Inenaga, Shunsuke [1 ]
Bannai, Hideo [1 ]
Takeda, Masayuki [1 ]
机构
[1] Kyushu Univ, Dept Informat, Fukuoka, Japan
基金
日本学术振兴会;
关键词
String algorithm; Shortest unique substring (SUS); Palindrome; Rich word;
D O I
10.1016/j.jda.2018.11.009
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
A palindrome is a string that reads the same forward and backward. A palindromic substring P of a string S is called a shortest unique palindromic substring (SUPS) for an interval [s, t] in S, if P occurs exactly once in S, this occurrence of P contains interval [s, t], and every palindromic substring of S which contains interval [s, t] and is shorter than P occurs at least twice in S. The SUPS problem is, given a string S, to preprocess S so that for any subsequent query interval [s, t] all the SUPSs for interval [s, t] can be answered quickly. We present an optimal solution to this problem. Namely, we show how to preprocess a given string S of length n in Omicron (n) time and space so that all SUPSs for any subsequent query interval can be answered in Omicron (alpha + 1) time, where alpha is the number of outputs. We also discuss the number of SUPSs in a string. (C) 2018 Elsevier B.V. All rights reserved.
引用
收藏
页码:122 / 132
页数:11
相关论文
共 50 条
  • [21] On Shortest Unique Substring Queries
    Pei, Jian
    Wu, Wush Chi-Hsuan
    Yeh, Mi-Yen
    2013 IEEE 29TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2013, : 937 - 948
  • [22] The palindromic cyclic reduction and related algorithms
    Bruno Iannazzo
    Beatrice Meini
    Calcolo, 2015, 52 : 25 - 43
  • [23] The palindromic cyclic reduction and related algorithms
    Iannazzo, Bruno
    Meini, Beatrice
    CALCOLO, 2015, 52 (01) : 25 - 43
  • [24] Shortest Unique Queries on Strings
    Hu, Xiaocheng
    Pei, Jian
    Tao, Yufei
    STRING PROCESSING AND INFORMATION RETRIEVAL, SPIRE 2014, 2014, 8799 : 161 - 172
  • [25] Efficient algorithms to compute compressed longest common substrings and compressed palindromes
    Matsubara, Wataru
    Inenaga, Shunsuke
    Ishino, Akira
    Shinohara, Ayumi
    Nakamura, Tomoyuki
    Hashimoto, Kazuo
    THEORETICAL COMPUTER SCIENCE, 2009, 410 (8-10) : 900 - 913
  • [26] Engineering shortest path algorithms
    Demetrescu, C
    Italiano, GF
    EXPERIMENTAL AND EFFICIENT ALGORITHMS, 2004, 3059 : 191 - 198
  • [27] Shortest Unique Substring Query Revisited
    Ileri, Atalay Mert
    Kulekci, M. Oguzhan
    Xu, Bojian
    COMBINATORIAL PATTERN MATCHING, CPM 2014, 2014, 8486 : 172 - 181
  • [28] A Survey on Shortest Unique Substring Queries
    Abedin, Paniz
    Kulekci, M. Oguzhan
    Thankachan, Shama, V
    ALGORITHMS, 2020, 13 (09)
  • [29] On the unique shortest lattice vector problem
    Kumar, SR
    Sivakumar, D
    THEORETICAL COMPUTER SCIENCE, 2001, 255 (1-2) : 641 - 648
  • [30] Algorithms for Recognizing Economic Properties in Matrix Bid Combinatorial Auctions
    Goossens, Dries R.
    Muller, Rudolf
    Spieksma, Frits C. R.
    INFORMS JOURNAL ON COMPUTING, 2010, 22 (03) : 339 - 352