Pergunta de entrevista da empresa Ipsos

Logical problem that resembled binary search