Pregunta de entrevista de Trimble

Skills test: code refactoring.