Get Process Time
This LinkedIn interviews coding interview problem models two cores sharing a latch to assign processes with given times. Starting with core 1 holding the latch, each process is assigned while both cores act optimally to maximize their own total time. Output two integers: the final sums for core 1 and core 2. A clear interview question focused on optimal assignment decisions.
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:
