In Salesforce, various automated jobs are executed on the system to manage business processes efficiently. The execution times of these jobs are represented as an array duration, where duration[i] represents the execution time of the ith task (0 ≤ i < n).
An administrator can perform the following operation on these jobs:
The goal is to bring the system to an equilibrium state where all active jobs have equal execution times. Determine the minimum number of operations required to achieve this state.
TCS NQT • Pending