Questions d'entretien

Entretien pour Associate Software Engineer

-Burnaby, BC

Electronic Arts

Given 100 white marbles and 100 black marbles and two jaws. Put these marbles in the two jars in a way that would maximize the chance of retrieving a white marble from any given jaw.

Répondre

Réponses aux questions d'entretien

4 réponse(s)

13

Really that is what you would answer? What if they stirred the jars around after you distributed the marbles? Personally I think a better answer is to put 1 white marble in the first far and 99 white marbles and 100 black marbles in the second jar. If you choose the jar at random you now have a 74.87% chance of getting a white marble, regardless of the marbles position in the jar.

qq le

0

qq is right, that is the optimum combination.

Yann le

0

2 colours, 2 jars. White in one, black in the other

Utilisateur anonyme le

5

divide black marbles into the two jars first. then divide the white marbles on top of that in the two jars.

Nilesh le

Ajouter des réponses ou des commentaires

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