Pregunta de entrevista de Microsoft

Write a code for English stemmers on a whiteboard.