







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








9 decimal digits.
Height <= 10.
Search => <= 9 branches on digits plus 1 compare.
Height <= 6.
Search => <= 5 branches on digits plus 1 compare.
Height <= 2log 2
9 ~ 60.
Search => <= 60 compares of 9 digit numbers.
Height <= 1.44log 2
9 ~ 40.
Search => <= 40 compares of 9 digit numbers.
Height = log 2
9 ~ 30.
#ptr
char#
Equivalent to bit# field of compressed binary trie.
Expected # of branch nodes for an order m trie when
n is large and m and s are small is n/(s ln m).
Variable length prefixes.
Longest prefix match.
Root stride = 32 => height = 1.
Strides of 16 , 8 , and 8 for levels 1 , 2 , and 3 => only 3
levels.
Prefix search.
Automatic command (or phone number or
URL) completion.
LZW compression (longest matching prefix).
Array
Chain
Binary search tree
Hash table