Pergunta de entrevista da empresa Synopsys

It was a riddle, I don't exactly remember