Hacker News new | past | comments | ask | show | jobs | submit login

When you traverse the prefix tree and you are blocked: meaning, the prefix does not match an entry in the structure, you perform edit operations: insert, delete, transpose, and substitute. If one of those garners a match, you keep going down the tree until you reach your edit distance.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: