Complete Suffix Array
问题 A suffix array will index all the suffixes for a given list of strings, but what if you're trying to index all the possible unique substrings? I'm a bit new at this, so here's an example of what I mean: Given the string abcd A suffix array indexes (at least to my understanding) (abcd,bcd,cd,d) I would like to index (all the substrings) (abcd,bcd,cd,d,abc,bc,c,ab,b,a) Is a suffix array what I'm looking for? If so, what do I do to get all the substrings indexed? If not, where should I be