Returns the index into the original string of the ith smallest suffix.
That is, text.Substring(sa.Index(i)) is the ith smallest suffix.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic int Index(
int i
)
Parameters
- i
- Type: SystemInt32
an integer between 0 and N-1
Return Value
Type:
Int32the index into the original string of the
ith smallest suffix
Exceptions
See Also