AlgoMaster Logo

Remove Boxes

boxes=[1, 2, 1]
0 / 108
algomaster.io
Step:Remove runs of equal boxes. A run of k boxes pays k x k. Maximise the total