Puzzle 6 | (Monty Hall problem)

3.4

Suppose you’re on a game show, and you’re given the choice of three doors: Behind one door is a car; behind the others, goats. You pick a door, say No. 1, and the host, who knows what’s behind the doors, opens another door, say No. 3, which has a goat. He then says to you, “Do you want to pick door No. 2?” Is it to your advantage to switch your choice?

220px-Monty_open_door.svg

Source: http://en.wikipedia.org/wiki/Monty_Hall_problem

 
 
 
 

Solution:
If you switch, you get the car with probability 2/3. So switching is always a good choice. Refer this MIT video lecture for great explanation.

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above

GATE CS Corner    Company Wise Coding Practice

Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.

Recommended Posts:



3.4 Average Difficulty : 3.4/5.0
Based on 37 vote(s)










Writing code in comment? Please use ide.geeksforgeeks.org, generate link and share the link here.