Pergunta de entrevista da empresa Thoughtworks

The most difficult part was both logic and code test.