Domanda di colloquio di Morgan Stanley

How would you design an autocorrect system ?