Pregunta de entrevista de Amazon

Code an algorithm that essentially fixes typos