Piper Jaffray Interview Question: One of the fun questions is t... | Glassdoor

Interview Question

Technology Interview Minneapolis, MN

One of the fun questions is that there are 9 balls. How to

  pick up one with odd weight in just 2 comparisons?
Answer

Interview Answer

1 Answer

0

Clarification: 9 balls have the same shape. One is heavier than the others.
Ans: Separate them into 3 groups of 3. Then, you can pick the one in just 2 comparisons.
The trick is not to get trapped in binary thought.

Interview Candidate on Jul 2, 2012

Add Answers or Comments

To comment on this, Sign In or Sign Up.