Split Array Largest Sum

Given an array of non-negative integers nums and an integer k, split the array into k non-empty contiguous subarrays so that the largest subarray sum is minimized. Return that minimized largest su...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: