👩💻 Join our community of thousands of amazing developers!
2188. Minimum Time to Finish the Race You are given a 0-indexed 2D integer array tires where tires[i] = [fi, ri] indicates that the ith tire can finish its xth successive lap in fi * ri(x-1) seconds. For example, if fi = 3 and ri = 2, then the tire would finish its 1st lap in 3 seconds, its 2nd lap in 3 * 2 = 6 seconds, its 3rd lap in 3 * 22 = 12 seconds, etc.You are also given an integer changeTime and an integer numLaps. The race consists of numLaps laps and you may start the race with any ...