Audio Analytic Interview Question: You have 7 balls and one is s... | Glassdoor.co.uk

Interview Question

Software Engineer Interview Cambridge, East of England, England

You have 7 balls and one is slightly heavier that the

  others, you have a penny balance, what's the minimum number of pennies you have to spend to find out which ball is heavier.
Answer

Interview Answer

1 Answer

0

2 pennies. Measure 3 and 3, if those are equal it's the other ball, if it tilts, discard the rest and measure two random of those 3 and with that you get which one it is.

Interview Candidate on 27 Feb 2015

Add Answers or Comments

To comment on this, Sign In or Sign Up.