Pregunta de entrevista de Microsoft

Write a basic spell checker function that checks strings for typos against a dictionary.