Leetcode 1043. Partition Array for Maximum Sum | Hello Interview