1723. Find Minimum Time to Finish All Jobs
https://leetcode.com/problems/find-minimum-time-to-finish-all-jobs
Description
You are given an integer array jobs
, where jobs[i]
is the amount of time it takes to complete the ith
job.
There are k
workers that you can assign jobs to. Each job should be assigned to exactly one worker. The working time of a worker is the sum of the time it takes to complete all jobs assigned to them. Your goal is to devise an optimal assignment such that the maximum working time of any worker is minimized.
Return the minimum possible maximum working time of any assignment.
Example 1:
Example 2:
Constraints:
1 <= k <= jobs.length <= 12
1 <= jobs[i] <= 107
ac
Previous1722. Minimize Hamming Distance After Swap OperationsNext1724. Checking Existence of Edge Length Limited Paths II
Last updated