Pergunta de entrevista da empresa Huawei Technologies

Do you know and explain the general working logic to me?