NeetCode #297LC-410HardBinary SearchNC 250
← Back to All Problems#297 · #410 · Split Array Largest Sum(分割数组的最大值)
📌 Problem Statement & Constraints
Given an array
nums of non-negative integers and an integer k, split the array into k non-empty contiguous subarrays so that the largest subarray sum is minimised. Return that minimum largest sum. Constraints: 1 <= nums.length <= 1000, 0 <= nums[i] <= 10^6, 1 <= k <= min(50, nums.length).🔒
Sign In to Unlock Full Solutions for All 973 Problems
Sign in to access step-by-step logic, benchmark Python3 code, complexity breakdown, and offline export!