Pregunta de entrevista de Thoughtworks

I was asked to refactor existing backend code