Pergunta de entrevista da empresa ForceBrain

I was given a specific case and asked me how to solve the problem...