Pregunta de entrevista de New York Life

How to code something backwards.