Fastest Horses

There are 25 horses. We have to find out the fastest 3 horses. In one race maximum 5 horses can run. How many such races are required in minimum to get the result?

Answer is a integer. Just put the number without any decimal places if its an integer. If the answer is Infinity, output Infinity.

Feel free to get in touch with us if you have any questions

Sign Up
to access hints and editorial solutions for Fastest Horses

Discussion


Loading...
Click here to start solving coding interview questions