• Status: Solved
• Priority: Medium
• Security: Public
• Views: 2530

# You have a bucket of jelly beans. Some are red, some are blue, and some green. With your eyes closed, pick out 2 of a like color. How many do you have to grab to be sure you have 2 of the same?

You have a bucket of jelly beans. Some are red, some are blue, and some green. With your eyes closed, pick out 2 of a like color. How many do you have to grab to be sure you have 2 of the same?
0
dshrenik
• 2
• 2
1 Solution

Commented:
4. If you pick 3, in the worst case you'll have one of each color so any other one you pick will match one.
I like all the points. But why are you asking these?
0

Author Commented:
I know the answers to some of these, but want make sure I get them right!
0

Commented:
What's it for?
0

Author Commented:
Random questions that I find on the internet that were asked in interviews...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.