Val. Trie Data Structure Makes
Val. Trie Data Structure Makes
Val. Trie Data Structure Makes
pattern in words more easy. The term trie came from the word retrieval. Trie data structure makes
retrieval of a string from the collection of strings more easily. Trie is also called as Prefix Tree and
some times Digital Tree. A trie is defined as follows...
• The standard trie for a set of strings S is an ordered tree such that:
– the paths from the external nodes to the root yield the strings of S
• A standard trie uses O(n) space. Operations (find, insert, remove) take time O(dm) each,
where:
-d =alphabet size,