Defective ball in the box is again a very popular puzzle and has been asked in many top interviews.
You have 10 boxes that contains balls from different manufacturers, with each of the ball weighing 10 grams precisely. One of the manufacturer made a mistake and its balls weigh 9 grams each.
You don’t know which box contains the defective balls.
You have been provided with an electronic weighing machine but you are allowed to use it only once.
How will you find out, which box contains the defective balls?
Watch the video for the detailed Answer or read it here.
Put all of them on the weighing machine. It should weigh 55 into 10 equals, 550 grams, if none of the balls were defective.
Say the weight is less by 3 grams. It means 3 of the balls are defective. Since you picked three balls from the box number 3, that particular box has the defective balls.
If box one had defective balls, it will weigh less by one gram as you picked only one ball from it. If box 2 had defective balls, it will weigh less by 2 grams and so on. If it weighs less by 10 grams, Box 10 has the defective balls.
In this way you’ll be able to find out the box with the defective balls.
Can your friends solve it? Share it to find that!