I cannot help but wonder: how to compute an inverse of a suffix array, preferably in linear time?
For $ISA$, it holds that $ISA[SA[i]] = i$.
I cannot help but wonder: how to compute an inverse of a suffix array, preferably in linear time?
For $ISA$, it holds that $ISA[SA[i]] = i$.