Abstract
In Cartesian tree matching, two strings match if the Cartesian trees of the strings are the same. In this paper we define full, initial, and general periods in Cartesian tree matching, and present an O(n) time algorithm for finding all full periods, an O(n log log n) time algorithm for finding all initial periods, and an O(n log n) time algorithm for finding all general periods of a string of length n.
Original language | English |
---|---|
Title of host publication | Combinatorial Algorithms - 30th International Workshop, IWOCA 2019, Proceedings |
Editors | Charles J. Colbourn, Roberto Grossi, Nadia Pisanti |
Publisher | Springer Verlag |
Pages | 70-84 |
Number of pages | 15 |
ISBN (Print) | 9783030250041 |
DOIs | |
State | Published - 2019 |
Event | 30th International Workshop on Combinatorial Algorithms, IWOCA 2019 - Pisa, Italy Duration: 23 Jul 2019 → 25 Jul 2019 |
Publication series
Name | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
---|---|
Volume | 11638 LNCS |
ISSN (Print) | 0302-9743 |
ISSN (Electronic) | 1611-3349 |
Conference
Conference | 30th International Workshop on Combinatorial Algorithms, IWOCA 2019 |
---|---|
Country/Territory | Italy |
City | Pisa |
Period | 23/07/19 → 25/07/19 |
Bibliographical note
Publisher Copyright:© 2019, Springer Nature Switzerland AG.
Keywords
- Cartesian tree matching
- Parent-distance representation
- Period
ASJC Scopus subject areas
- Theoretical Computer Science
- General Computer Science