Answer to a popular Microsoft interview teaser question

Microsoft is famous for asking brain teasers during interviews. Here’s one of them:

You’ve got a chicken, a fox, and a bag of grain on one side of the river, and a boat that holds you and one of the chicken/fox/grain. If the fox is left alone with the chicken, he’ll eat it. If the chicken is left alone with the grain, he’ll eat it. How do you get all across the river so that nobody/nothing gets eaten.

Answer:

Feed the grain to the chicken, then feed the chicken to the fox. Take the fox over, then induce vomiting on each animal in reverse order.
[Source]

When I read that, I laughed so hard that my stomach started hurting and I had to share it.

One Response to “Answer to a popular Microsoft interview teaser question”

  1. Manish Says:

    It’s definitely a joke.

    Correct answer is, Take Chicken first, leave it on other shore and come back.

    Take bag of grain this time, leave it and bring chicken back.

    Take fox this time and leave it at other shore, come back.

    Finally, take chicken again.

    I know, you all know this, just couldn’t resist posting.

Leave a Reply