Pergunta de entrevista da empresa Teradata

candy problem leetcode, candy problem leetcode