Pergunta de entrevista da empresa Huawei Technologies

Leetcode question plus some ML basic