An O(n log n) algorithm for finding all repetitions in a string
Journal of Algorithms
Theoretical Computer Science
An Optimal O(log log n)-Time Parallel Algorithm for Detecting all Squares in a String
SIAM Journal on Computing
Efficient Algorithms for Lempel-Zip Encoding (Extended Abstract)
SWAT '96 Proceedings of the 5th Scandinavian Workshop on Algorithm Theory
An Improved Pattern Matching Algorithm for Strings in Terms of Straight-Line Programs
CPM '97 Proceedings of the 8th Annual Symposium on Combinatorial Pattern Matching
Fully Compressed Pattern Matching Algorithm for Balanced Straight-Line Programs
SPIRE '00 Proceedings of the Seventh International Symposium on String Processing Information Retrieval (SPIRE'00)
Application of Lempel--Ziv factorization to the approximation of grammar-based compression
Theoretical Computer Science
Efficient algorithms to compute compressed longest common substrings and compressed palindromes
Theoretical Computer Science
Processing compressed texts: a tractability border
CPM'07 Proceedings of the 18th annual conference on Combinatorial Pattern Matching
Hi-index | 0.89 |
We give a simple algorithm that, given a straight-line program of size n for a string S of length N, tests whether S is square-free in O(n^4logN) time and O(n^2) space. The algorithm also allows us to test square-freeness on an arbitrary composition system of size c for S, in O(c^4log^5N) time and O(c^2log^2N) space, which is faster than using the algorithm by Ga@?sieniec, Karpinski, Plandowski, and Rytter (1996) [4].