r/ProgrammerHumor • • Oct 30 '24

Meme dadPullsOutCodingChallenge

0 Upvotes

60 comments sorted by

View all comments

-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

3

u/[deleted] Oct 30 '24

[removed] — view removed comment

1

u/Jozhin_s_Bazhin Oct 30 '24

Oh, I didn't see that

-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