Pergunta de entrevista da empresa Huawei Technologies

Coding Test in python which was straightforward