Pergunta de entrevista da empresa Bloomberg

candy crush. it's on leetcode