Split Array Largest Sum
Given an array of non-negative integers and an integer m, such that you are able to split the array into m non-empty continuous subarrays. Write an algorithm to minimize the largest sum among these m subarrays.
Examples
Example 1:
Input: [7,2,5,10,8], m = 2
Output: 18