PuzzlersWorld.com

  • Hacker Puzzle
  • Interview Puzzles
  • Number Puzzles
  • Maths Puzzles

Red and blue marbles

(4 votes, average: 3.25 out of 5)

December 2, 2007 by Ankur 1 Comment

You have two jars, 50 red marbles and 50 blue marbles. You need to place all the marbles into the jars such that when you blindly pick one marble out of one jar, you maximize the chances that it will be red. When picking, you’ll first randomly pick a jar, and then randomly pick a marble out of that jar. You can arrange the marbles however you like, but each marble must be in a jar.

See Solution : Red and blue marblesHide Solution

Lets say, we put all the red marbles in jar A and all blue marbles in jar B. Then the probability of getting a red marble is :

jar A : (1/2)*1 = 1/2 (selecting the jar A = 1/2, red marble from jar A = 50/50)
jar B : (1/2)*0 = 0 (selecting the jar B = 1/2, red marble from jar B = o/50)
So probability of getting red marble is 1/2 . Now as we need to maximize the P(getting a red marble), we have to increase the prob of getting a red marble in jar B. If we select jar A, then getting a red marble is guaranteed, but it will also be guaranteed if there is only one red marble in that jar, then also the probability of getting a red marble from jar A is 1/1=1. So now we can place remaining 49 red marbles in jar B, so it increases the prob of getting red marbles in jar B.

So the maximum probability will be :
jar A : (1/2)*1 = 1/2 (selecting the jar A = 1/2, red marble from jar A = 1/1)
jar B : (1/2)*(49/99) = 0 (selecting the jar B = 1/2, red marble from jar B = 49/99)
Total probability = 74/99 (~3/4)

  • Share on Whatsapp
  • Share on Facebook
  • Share on Twitter
Facebook Comments
Next Puzzle
Daughter’s ages

Checkout more Interview Puzzles Tags: Interview, Solved Puzzles

Comments

  1. prabhat kumar sengar says

    November 19, 2014 at 8:20 pm

    gud one..

    Reply

Leave a Comment Cancel reply

Submit your Puzzle

You may also like

  • Heavier ball
  • 10 black socks and 10 white socks puzzle
  • Red and blue balls
  • Inverted cards puzzle
  • n bulbs in a circle puzzle
  • Divide a triangle into n triangles
  • Find celebrity in the party
  • 1-40 litres of milk in drum puzzle
  • Supersonic bee
  • Zeroes in 100 factorial

Categories

  • Aive hi Puzzles
  • Akbar and Birbal
  • Alphabetical Puzzles
  • Bollywood Puzzles
  • Google Code jam
  • Hindi Riddles
  • Interview Puzzles
  • Interview Questions
  • Logical Puzzles
  • Malayalam Puzzles
  • Maths Puzzles
  • Miscellaneous
  • Number Puzzles
  • Picture Puzzles
  • Riddles
  • Tamil Puzzles
  • Technical

Social

  • View puzzlersworld’s profile on Twitter
privacy policy

Copyright © 2025 · eleven40 Pro Theme on Genesis Framework · WordPress · Log in

  • Hacker Puzzle
  • Logo Puzzles
  • Optical Illusions
  • WhatsApp Puzzles
  • Picture Puzzles
  • Riddles
    ▼
    • Hindi Riddles
  • Bollywood Puzzles
  • Alphabetical Puzzles
  • Aive hi Puzzles
  • Interview Puzzles
  • Logical Puzzles
  • Interview Questions
    ▼
    • Data Structures
    • Binary Tree
    • Algorithms
    • Recursion Questions
    • Amazon Interview Questions
    • Snapdeal Interview Questions
    • Google Code jam
  • Technical
  • Akbar and Birbal
  • Number Puzzles
  • Maths Puzzles
  • Miscellaneous