Is it possible to find out a string only having its corresponding suffix array/table and knowing that the string contains only, for instance, letters "f", "g", "r"? If so, how is that possible?
Understanding the definition of a suffix array will come in handy here.
Suffix Array for the string attcatg$.
So like Raphael Suggested either look for the index 1 string attcatg$ or look for the longest string in that array which is the same if it doesn't store indices but it should store indices as per definition.