hackerrank, algorithms track, chocolate feast
squash