Split With Minimum Sum Leetcode