NeetCode #753LC-1335Hard2-D Dynamic Programming
← Back to All Problems

#753 · #1335 · Minimum Difficulty of a Job Schedule(工作计划的最低难度)

📌 Problem Statement & Constraints

You have jobDifficulty and d days. Split the jobs, in the given order, into exactly d non-empty consecutive groups. A day's difficulty is the maximum job in it, and the schedule's difficulty is the sum over days. Return the minimum schedule difficulty, or -1 if impossible. Constraints: 1 <= d <= jobDifficulty.length <= 300, 0 <= jobDifficulty[i] <= 1000.
🔒

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!