Split Array Largest Sum
Try to solve the Split Array Largest Sum problem.
We'll cover the following
Statement
Given an integer list nums
and an integer k
, split nums
into k
non-empty subarrays such that the largest sum among these subarrays is minimized. The task is to find the minimized largest sum by choosing the split such that the largest sum of every split of subarrays is the minimum among the sum of other splits.
Constraints:
nums.length
nums[i]
k
nums.length
Examples
Level up your interview prep. Join Educative to access 70+ hands-on prep courses.