Indexing
Hashing your keys…
Initializing Sorting Algorithms...
Sorting
Trees
Graphs
Preparing interactive visualizations...
Indexing
Hashing your keys…
A trie with its single-child chains collapsed. Each edge carries a whole substring instead of one character, so the same keys live in far fewer nodes.
Click Play to begin
O(m)O(m)O(n)far fewerm = key length, n = total characters stored
Question 1 of 3
What exactly does a radix tree compress compared with a plain trie?