What is a suffix array (or suffix tree) used for? | LetsGit.IT