Bloomberg interview question

Create a simplified candy crush using