Pergunta de entrevista da empresa Cotality

I was asked a scenario question