Suffix Array Explorer

Enter a string to see all suffixes sorted, the suffix array (SA), LCP array, and pattern matching highlighted.

SA index
LCP value
Pattern match
#SA[i]LCP[i]Suffix