Is there an implementation of the Ukkonen's algorithm for building Suffix Tree in C++? Any implementation in a high level language is good too.
Asked
Active
Viewed 5,925 times
2
-
What are you interested in doing with it? – GWW Oct 18 '11 at 03:21
-
I want to try the problems listed at http://allisons.org/ll/AlgDS/Tree/Suffix/ – shreyasva Oct 18 '11 at 03:24
-
I think more work has been done using suffix arrays rather than suffix trees since their memory footprints are smaller. You can probably find an easier construction algorithm using those. – GWW Oct 18 '11 at 03:44
2 Answers
1
Here's Mark Nelsons article with source code attached at the end:
http://marknelson.us/1996/08/01/suffix-trees/
From the article - "Both my sample code and the descriptions that follow are based on Ukkonen's work, published in the September 1995 issue of Algorithmica."

mutex
- 7,536
- 8
- 45
- 66