Pergunta de entrevista da empresa Bloomberg

Program a Candy Crush algorithm in one dimension