Interview Question: Horse Racing

Sample Question #243 (brainteaser)
 
Two princes are racing their horses. Each prince owns three horses, one in each "weight class." In every weight class, prince A’s horse outruns prince B’s, but a horse in a higher weight class always outruns a horse in a lower weight class. There will be three pairwise races, and each prince can enter any one of his horses into a race. The prince whose horses win 2 out of the 3 races gets the bragging rights.
 
How can prince B win?
 
[Adapted from a classic Chinese story]
Advertisements
This entry was posted in Sample Qs. Bookmark the permalink.

4 Responses to Interview Question: Horse Racing

  1. Brett says:

    ANSWER
     
    Let the weight classes be, in descending order, 1, 2 and 3.
     
    In race 1, prince B races his class 3 horse against A’s class 1 horse. B loses.
    In race 2, prince B races his class 1 horse against A’s class 2 horse. B wins.
    In race 3, prince B races his class 2 horse against A’s class 3 horse. B wins.
     
    Pretty easy, but a lot of candidates I asked this question of couldn’t solve it!
     

  2. Unknown says:

    When I read the question I was confused re who chooses the horses. Perhaps a good idea would be to substitute "…any horse can be entered into a race…"
    by
     "…prince B can choose which horses enter each race…"
     
     
     
     
     

  3. Brett says:

    Thanks. Edited. Is it clearer now?
    -brett

  4. YING says:

    haha, I think every candidate from China can slove it

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s