|
ADS
Algorithms and Data Structures
|
The trie of exercise 13.3 of Morin's book, beyond the book. More...
Files | |
| file | ADS/dictionary/BitmapTrie.h |
| The trie of exercise 13.3 of Morin's book, beyond the book: a SORTED SET of strings of any length, each with a value, whose lowerBound( s ) (the smallest string \( \ge s \) in the lexicographic order of the bytes, a prefix before its extensions), insert( s ) and remove( s ) take \( O( |s| ) \) time, whatever the number of strings. | |
Classes | |
| class | ADS::BitmapTrie< V > |
| a trie of strings with the bitmaps of the children, the list of the strings and the smallest and largest string below each node More... | |
The trie of exercise 13.3 of Morin's book, beyond the book.
The definitions, the invariants and the costs of the area are in Theory of dictionaries.