Developer Interview Questions

270,915 developer interview questions shared by candidates

You have 25 horses, and you want to know which are the top 3 fastest, but you don't have a stopwatch. You can race the horses, but the track is only big enough to fit 5 horses at a time. How do you find the first, second and third fastest horses using the least amount of races possible?
avatar

Financial Software Developer

Interviewed at Bloomberg

4
Jan 30, 2010

You have 25 horses, and you want to know which are the top 3 fastest, but you don't have a stopwatch. You can race the horses, but the track is only big enough to fit 5 horses at a time. How do you find the first, second and third fastest horses using the least amount of races possible?

Viewing 321 - 330 interview questions

Glassdoor has 270,915 interview questions and reports from Developer interviews. Prepare for your interview. Get hired. Love your job.