LeetCode
Partition Array for Maximum Sum
Click
here
for an explanation.