Skip to content

A Trie (Prefix tree) which only stores the latest N most used words

License

Notifications You must be signed in to change notification settings

Antonyo/LRUPrefixTree

Repository files navigation

LRUPrefixTree

A Trie (Prefix tree) which only stores the latest N most used words. Support predict words based on a prefix used in autocomplete fields.

It uses a double a Trie in combination with a double linked list to store only an specific number of words, if more words are added over the capacity, the least used words will be removed from the trie.

About

A Trie (Prefix tree) which only stores the latest N most used words

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages