How do you implement autocomplete?
Anonymous
Tries would be a data structure based answer. As far as the profile is considered, an edit distance algorithm with multiple error confusion matrix would do.
Check out your Company Bowl for anonymous work chats.