You are given an integer array ranks representing the ranks of mechanics, where ranks[i] is the rank of the
You are also given an integer cars representing the total number of cars that must be repaired.
All mechanics can repair cars simultaneously.
Return the minimum time required to repair all the cars.
Constraints:
ranks.length
ranks[i]
cars
You are given an integer array ranks representing the ranks of mechanics, where ranks[i] is the rank of the
You are also given an integer cars representing the total number of cars that must be repaired.
All mechanics can repair cars simultaneously.
Return the minimum time required to repair all the cars.
Constraints:
ranks.length
ranks[i]
cars