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

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
Asked:
dshrenik
  • 2
  • 2
1 Solution
 
TommySzalapskiCommented:
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
 
dshrenikAuthor Commented:
I know the answers to some of these, but want make sure I get them right!
0
 
TommySzalapskiCommented:
What's it for?
0
 
dshrenikAuthor 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.

Join & Write a Comment

Featured Post

Protect Your Employees from Wi-Fi Threats

As Wi-Fi growth and popularity continues to climb, not everyone understands the risks that come with connecting to public Wi-Fi or even offering Wi-Fi to employees, visitors and guests. Download the resource kit to make sure your safe wherever business takes you!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now