Minimum Sum Partition Leetcode Python Practice Problems