Find Minimum Time

Problem Overview

  • Compute the minimum time to finish all processes on multiple processors with size limits and a 1-second pause after each task; return -1 if any process cannot be handled.
  • Input: int[] processSize and int[] capacity; Output: an int for the minimum total time.
  • Models scheduling of jobs in parallel computing with per-processor capacities and mandatory cooldowns.
  • A Rippling interviews coding interview problem and interview question focused on scheduling and feasibility.

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Input Variables
Execution Result: