Returns the number of suffixes strictly less than the query string.
We note that Rank(Select(i)) equals i for each i
between 0 and N-1.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic int Rank(
string query
)
Parameters
- query
- Type: SystemString
the query string
Return Value
Type:
Int32the number of suffixes strictly less than
query
See Also