







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
These are the Lecture Slides of Advanced Data Structures which includes Split Algorithm, Unbalanced Binary Search Trees, Forward Pass, Forward Pass Example, Backward Cleanup Pass, Retrace Path, Current Nodes, Roots of Respective Tries, Branch Nodes etc. Key important points are: Higher Order Tries, Social Security Number, Decimal Digits, Branches on Digits Plus, Social Security Avl, Red-Black Tree, Best Binary Tree, Nonnull Pointers in Node, Variable Length Keys
Typology: Slides
1 / 13
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