Pergunta de entrevista da empresa DB&A

Mathematical reasoning questions not that difficult