Minimum Tires for a Race
Google interview questions · Hard · Coding round · 6 tests
Choose when to keep using a degrading tire versus paying a change penalty to finish a race in minimum total time.
The full question, tests and reference solution are available with a plan that includes Google.
Run your code with Ctrl+Enter to see results.