Min Time Finish All Jobs

Given job difficulties and k workers, assign each job to exactly one worker to minimize the maximum total difficulty assigned to any worker. Each worker gets a contiguous segment of jobs.

Examples
Input: [[3,2,3],3]
Output: 3
Hints

Min Time Finish All Jobs

Given job difficulties and k workers, assign each job to exactly one worker to minimize the maximum total difficulty assigned to any worker. Each worker gets a contiguous segment of jobs.