Minimum Sum Partition Leetcode 75