Block interview question

subset sums split into multiple parts