0410. Split Array Largest Sum
Hard | Binary Search | 32 ms (92.40%), 14.3 MB (65.39%)
Last updated
Was this helpful?
Hard | Binary Search | 32 ms (92.40%), 14.3 MB (65.39%)
Last updated
Was this helpful?
Source: GitHub:
Given an array nums
which consists of non-negative integers and an integer m
, you can split the array into m
non-empty continuous subarrays.
Write an algorithm to minimize the largest sum among these m
subarrays.