Questions d'entretien

Entretien pour Trading Intern

-Chicago, IL

Wolverine Trading

You have three barrels. One barrel is filled with apples, one with oranges, and one with both apples and oranges. Each barrel is mislabeled. You can take out as many fruit as you like form each barrel and look at it. What is the minimum number of fruits you need to remove to correctly label the barrels?

Répondre

Réponses aux questions d'entretien

8 réponse(s)

1

One. Since it's mislabeled, A can be labeled as O or A+O. Similarily, O = {A, A+O} and A+O = {O, A}. Case 1: Take 1 from A+O label, it turns out to be A. Relabel it. We have A, O mislabels left, and A+O, O real labels left. Mislabeled ones can ot be the same as real labels. So the mislabeled O should be A+O and A should be O. Case 2: also choose from A+O, but it turns out to be O. Solving the same as case 1.

Utilisateur anonyme le

0

None, you don't need to move any of the fruit to correctly label the barrels. You need to change the labels.

Utilisateur anonyme le

0

All three are mislabeled and you cannot look inside the barrels. If you take one out of the apples+oranges barrel, whatever fruit you pull out is the fruit of the barrel. And Since you know the other two are mislabeled, you would switch the labels. So you need to take out only one fruit

Anon le

1

Two. Take a fruit from A+O, if its an O then this barrel is O ...Now take out a fruit from A, if its an O then this barrel is A+O...and the 3rd is by default barrel A

Utilisateur anonyme le

1

One. Start of from A+O, the fruit u pick say O should be the barrel name. now that means that the barrel labelled A can be A+O or A... But since we know that barrels are mislabelled it cant be A. hence, we concluded it to be A+O and the last remaining barrel is A.

Utilisateur anonyme le

0

1

Utilisateur anonyme le

0

Trick question, just look inside the barrel...

Utilisateur anonyme le

4

Just one. Take a fruit from the barrel labeled apples and oranges. You know this barrel is not the apples and oranges barrel, so whatever fruit you take must be the only fruit in that barrel. The other two barrels are mislabeled, so you can figure out the other two as well.

Utilisateur anonyme le

Ajouter des réponses ou des commentaires

Pour commenter ceci, connectez-vous ou inscrivez-vous.