Company: Citadel_19sep
Difficulty: medium
Minimum Operations to Execute Jobs Problem Description Determine the minimum number of operations needed to execute multiple jobs in parallel. There are n jobs with execution times specified in the executionTime array. In each operation, one job is designated as the major job and is executed for x seconds, while all other jobs are executed for y seconds (where y ). A job is complete when it has been executed for at least its required execution time and then exits the processor pool. Complete the function getMinumumOperations in the editor with the following parameters: int executionTime[n] : the execution times of the jobs int x : the time spent executing the major job int y : the time spent executing the other jobs Returns: int : the minimum number of operations for the processor to complete the jobs Examples Example 1: Input: n = 5 executionTime = [3, 4, 1, 7, 6] x = 4 y = 2 Output: 3 Explanation: Choose job 4 as the major job: Reduce the execution time of job 4 by x and other jobs b