Pergunta de entrevista da empresa Thoughtworks

Pairing interview : consisted of a problem to solve and make the code more efficient.