Which algorithms or data structures are used in auto-suggest features?
It seems that edit-distance will be used, but again a frequency or score associated with each word should also be considered. For example, consider the tags option on SO's Ask Question page.