TrieSTValueLongestPrefixOf Method |
Returns the string in the symbol table that is the longest prefix of query,
or null, if no such string.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public string LongestPrefixOf(
string query
)
Parameters
- query
- Type: SystemString
the query string
Return Value
Type:
Stringthe string in the symbol table that is the longest prefix of
query
or
null if no such string
Exceptions See Also