Pergunta de entrevista da empresa ABC

all technical with some logical reasoning