Question d’entretien chez Bloomberg

Program a Candy Crush algorithm in one dimension