Searches for a key that matches the longest substring in input that starts at startIndex and ends at endIndex, and returns the corresponding leaf.
input
startIndex
endIndex
A leaf in the trie or null if there's no matching key.
null
The value stored in a trie.
The trie root.
The string to search for the key from the trie.
trie
Optional
Generated using TypeDoc
Searches for a key that matches the longest substring in
input
that starts atstartIndex
and ends atendIndex
, and returns the corresponding leaf.Returns
A leaf in the trie or
null
if there's no matching key.