Online detection of repetitions with backtracking
From MaRDI portal
Publication:2942265
Abstract: In this paper we present two algorithms for the following problem: given a string and a rational , detect in the online fashion the earliest occurrence of a repetition of exponent in the string. 1. The first algorithm supports the backtrack operation removing the last letter of the input string. This solution runs in time and space, where is the maximal length of a string generated during the execution of a given sequence of read and backtrack operations. 2. The second algorithm works in time and space, where is the length of the input string and is the number of distinct letters. This algorithm is relatively simple and requires much less memory than the previously known solution with the same working time and space. a string generated during the execution of a given sequence of read and backtrack operations.
Recommendations
Cites work
- scientific article; zbMATH DE number 3913712 (Why is no real title available?)
- An Optimal $O(\log \log N)$-Time Parallel Algorithm for Detecting all Squares in a String
- Computing and Combinatorics
- Efficient on-line repetition detection
- Lempel-Ziv factorization may be harder than computing all runs
- Mathematical Foundations of Computer Science 2005
- Near real-time suffix tree construction via the fringe marked ancestor problem
- Simple real-time constant-space string matching
- Time-space-optimal string matching
- Transducers and repetitions
Cited in
(6)
This page was built for publication: Online detection of repetitions with backtracking
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q2942265)