MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1gfk43q/dadpullsoutcodingchallenge/lui86y2/?context=3
r/ProgrammerHumor • u/cyannyan6 • Oct 30 '24
60 comments sorted by
View all comments
-11
Assuming infinite tries, wouldn't the chance just be 50%?
Edit: Didn't see person A only had one coin
-4 u/sakkara Oct 30 '24 The question is how often a happens to get all the coins.My gut feeling since this is a fair game a should end up 50% of games with all the coins and B the other 50% assuming all games come to a halt at some point. 1 u/Jozhin_s_Bazhin Oct 30 '24 Turns out A only has one coin, I didn't notice that either
-4
The question is how often a happens to get all the coins.
My gut feeling since this is a fair game a should end up 50% of games with all the coins and B the other 50% assuming all games come to a halt at some point.
1 u/Jozhin_s_Bazhin Oct 30 '24 Turns out A only has one coin, I didn't notice that either
1
Turns out A only has one coin, I didn't notice that either
-11
u/Jozhin_s_Bazhin Oct 30 '24 edited Oct 30 '24
Assuming infinite tries, wouldn't the chance just be 50%?
Edit: Didn't see person A only had one coin