Extensible Hashing Insertion Trace (bucket capacity = 3)

Each table shows the buckets after inserting the given key.
Directory entries = all prefixes (of length g) that point to that bucket.

Step 1: insert 1111

Global depth g = 1

#Directory entries (prefixes)Local depthKeys in bucket
B101empty
B2111111

Step 2: insert 1110

Global depth g = 1

#Directory entries (prefixes)Local depthKeys in bucket
B101empty
B2111111, 1110

Step 3: insert 1101

Global depth g = 1

#Directory entries (prefixes)Local depthKeys in bucket
B101empty
B2111111, 1110, 1101

Step 4: insert 1100

Global depth g = 3

#Directory entries (prefixes)Local depthKeys in bucket
B1000, 001, 010, 0111empty
B2100, 1012empty
B311031101, 1100
B411131111, 1110

Step 5: insert 1011

Global depth g = 3

#Directory entries (prefixes)Local depthKeys in bucket
B1000, 001, 010, 0111empty
B2100, 10121011
B311031101, 1100
B411131111, 1110

Step 6: insert 1010

Global depth g = 3

#Directory entries (prefixes)Local depthKeys in bucket
B1000, 001, 010, 0111empty
B2100, 10121011, 1010
B311031101, 1100
B411131111, 1110

Step 7: insert 1001

Global depth g = 3

#Directory entries (prefixes)Local depthKeys in bucket
B1000, 001, 010, 0111empty
B2100, 10121011, 1010, 1001
B311031101, 1100
B411131111, 1110

Step 8: insert 1000

Global depth g = 3

#Directory entries (prefixes)Local depthKeys in bucket
B1000, 001, 010, 0111empty
B210031001, 1000
B310131011, 1010
B411031101, 1100
B511131111, 1110

Step 9: insert 0111

Global depth g = 3

#Directory entries (prefixes)Local depthKeys in bucket
B1000, 001, 010, 01110111
B210031001, 1000
B310131011, 1010
B411031101, 1100
B511131111, 1110

Step 10: insert 0110

Global depth g = 3

#Directory entries (prefixes)Local depthKeys in bucket
B1000, 001, 010, 01110111, 0110
B210031001, 1000
B310131011, 1010
B411031101, 1100
B511131111, 1110

Step 11: insert 0101

Global depth g = 3

#Directory entries (prefixes)Local depthKeys in bucket
B1000, 001, 010, 01110111, 0110, 0101
B210031001, 1000
B310131011, 1010
B411031101, 1100
B511131111, 1110

Step 12: insert 0100

Global depth g = 3

#Directory entries (prefixes)Local depthKeys in bucket
B1000, 0012empty
B201030101, 0100
B301130111, 0110
B410031001, 1000
B510131011, 1010
B611031101, 1100
B711131111, 1110

Step 13: insert 0011

Global depth g = 3

#Directory entries (prefixes)Local depthKeys in bucket
B1000, 00120011
B201030101, 0100
B301130111, 0110
B410031001, 1000
B510131011, 1010
B611031101, 1100
B711131111, 1110

Step 14: insert 0010

Global depth g = 3

#Directory entries (prefixes)Local depthKeys in bucket
B1000, 00120011, 0010
B201030101, 0100
B301130111, 0110
B410031001, 1000
B510131011, 1010
B611031101, 1100
B711131111, 1110

Step 15: insert 0001

Global depth g = 3

#Directory entries (prefixes)Local depthKeys in bucket
B1000, 00120011, 0010, 0001
B201030101, 0100
B301130111, 0110
B410031001, 1000
B510131011, 1010
B611031101, 1100
B711131111, 1110

Step 16: insert 0000

Global depth g = 3 (final structure)

#Directory entries (prefixes)Local depthKeys in bucket
B100030001, 0000
B200130011, 0010
B301030101, 0100
B401130111, 0110
B510031001, 1000
B610131011, 1010
B711031101, 1100
B811131111, 1110