Pergunta de entrevista da empresa Huawei Technologies

puzzels are bit difficult to answer