Pergunta de entrevista da empresa Thoughtworks

Please explain how you solve the assignment.