Implementation of suffix array (similar function as suffix tree, see wikipedia) in python, derived from https://code.google.com/p/pysuffix/ Utility function is added to show simple application of searching substring and finding longest repeating substring. -
View it on GitHub