Hacker News new | past | comments | ask | show | jobs | submit login

>There are 25 horses and a single race track. The track has 5 lanes. Your job is to find the fastest 3 horses assuming you don't have a stopwatch and all horses always run at a constant pace. What’s the way to find the fastest 3 in the fewest uses of the track.

It's not specified that one lane = one horse, so... release all horses at once, pick the top 3 :)




[deleted]


Shoot 22 horses - the last three left alive will be the fastest.


> the fewest uses of the track.


Wait to see which 3 finish the race first.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: