Pergunta de entrevista da empresa Huawei Technologies

Do 2 Codeforces problems and explain the process