A trie is a data-structure used for matching strings in a set of strings using a tree like structure. It can be either a prefix or a suffix trie. This tag shall not be confused with trees.
A trie is a data-structure used for matching strings in a set using a tree like structure. It is constructed as a graph between adjacent letters either in a prefix or a suffix of a string.
This data-struture can be used to implement dictionaries. Other alternatives are hash tables, ordinary tries, and similar structures
This tag shall not be confused with trees.
See also:
- Definition: Trie (wikipedia)
- Article: Trying to understand tries