Split Array Largest Sum at MathWorks

Hard59.8% acceptance

This problem has 50.0% frequency at MathWorks.

Problem Description

Given an integer array `nums` and an integer `k`, split `nums` into `k` non-empty subarrays such that the largest sum of any subarray is **minimized**. Return _the minimized largest sum of the split_. A **subarray** is a contiguous part of the array.

Read full problem and hints

Topics

Also asked at 19 companies


More MathWorks Questions

View all MathWorks questions