PuzzlersWorld.com

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

Defective ball

(7 votes, average: 3.29 out of 5)

December 7, 2007 by Ankur 1 Comment

You have 12 balls all look identical (in shape, color etc.). All of them have same weight except one defective ball. You don’t know that the defective one is heavier or lighter than other balls. You can use a two sided balance system (not the electronic one). It is given that the minimum no. of measures required to separate the defective ball is three. Find the way you separate the defective ball.

See Solution : Defective ballHide Solution

Divide the balls into 3 groups of 4 balls.

First weigh :
weigh 2 groups, one on each side.
There will be two cases
a) The weight on both side is equal i. e. these two groups don’t have the defective ball.
b) One side has less weight than the other side.
Case (a) :
You know 8 balls are of equal weight and one of the remaining 4 balls have a defective one. Name these four as B1, B2, B3, B4.
Second weigh :
Take B1, B2 and weight them.
(i) If they are unequal then either B1 is defective or B2. Compare B1 with one of eight balls. If B1 is equal to that then B2 is defective otherwise B1.
Total measurements in this case : 1 (first weigh) + 1 (second weigh) + 1 (B1 with other ball) = 3
(ii) If B1 and B2 are equal then either B3 is defective or B4. Compare B3 with one of eight balls. If B3 is equal to that then B4 is defective otherwise B3.
Total measurements in this case : 1 (first weigh) + 1 (second weigh) + 1 (B3 with other ball) = 3
Case (b) :
Mark the balls in the side with less weight as L and with more weight as M. We get 4L and 4M.
Second weigh :
Take 2L and 1M in One side say A and take 2L and 1M in Other side say B of balance system. 2M are reserved for now.(i) If side A is down and next side goes up then it has two possibilities.
1. One of 2L in B has less weight than other 7 balls
2. The 1M in A has more weight(ii) If side B is down then it also has two possibilities.
1. One of 2L in A has less weight than other 7 balls
2. One of 1M in B has more weight than other 7 balls(iii) Both sides are balanced

Third weigh :
In cases (i) or (ii) we will get 3 balls (2L and 1M) after the second weigh.
For case (i) and (ii)of (b) :
Weigh two L balls with each other, if they are equal then the 1M is heavier and if they are not then the ball with less weight is defective.
For case (iii) of (b) :
In this case one of the two reserved balls is defective. We have 2M balls. Weigh them, the one which is heavier is defectives. because we know that issue is with the ball with more weight.

  • Share on Whatsapp
  • Share on Facebook
  • Share on Twitter
Facebook Comments
Next Puzzle
Heavier ball

Checkout more Interview Puzzles Tags: Interview, Solved Puzzles, Very Difficult

Comments

  1. Gopal Zawar says

    March 7, 2015 at 12:41 am

    is there any way in general for N balls?

    Reply

Leave a Comment Cancel reply

Submit your Puzzle

You may also like

  • Genie with c hats
  • Palindrome dates
  • Wires on fire
  • Four glasses on a square table
  • 100 doors
  • Red and blue marbles
  • Zeroes in 100 factorial
  • Cube Puzzle
  • Two Numbers?
  • Days of month using 2 dice

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