Live Batches
Masterclasses
Menu
Free Courses
Account
Login / Sign Up
Problem Submissions Solution

Split Array Largest Sum

Difficulty: Medium

Acceptance: 59.00%

Points: 30.00

Given an array of non-negative integers nums and an integer k, split the array into k non-empty contiguous subarrays. Return the minimum possible value of the largest sum among these subarrays.

Topics

Companies

Articles

Examples:

N/A

Constraints:
  • 1 = nums.length = 105
  • 0 = nums[i] = 105
  • 1 = k = nums.length
Companies:
Apple
Topics:
Binary Search
Locked Content
Access Restricted: Please Login to access the code editor and test cases.