Split With Minimum Sum Leetcode Problem 21