File-system directories have similar problems
Typically linear search, for reasons of
reliability
laziness
Inserting an entry into a directory with n entries takes O(n) time
Creating a directory with n entries takes O(n2) time (Ouch!)
Previous slide
Next slide
Back to first slide
View graphic version