arXiv · 1610.03421
Computing All Distinct Squares in Linear Time for Integer Alphabets
Abstract
Given a string on an integer alphabet, we present an algorithm that computes the set of all distinct squares belonging to this string in time linear to the string length. As an application, we show how to compute the tree topology of the minimal augmented suffix tree in linear time. Asides from that, we elaborate an algorithm computing the longest previous table in a succinct representation using compressed working space.
Explore related subjects
Keep this discovery
Hideo Bannai, Shunsuke Inenaga, Dominik Köppl. 2016-10-11. Computing All Distinct Squares in Linear Time for Integer Alphabets. https://arxiv.org/abs/1610.03421
Cite the original work for its findings. Save a collection to share your selection of sources.