Glassdoor Interview Question: "Suppose you had eight identi... | Glassdoor.co.uk

Interview Question

Associate Account Manager Interview Chicago, IL (US)

"Suppose you had eight identical balls. One of them is

  slightly heavier and you are given a balance scale. What's the fewest number of times you have to use the scale to find the heavier ball?"
Answer

Interview Answer

2 Answers

0

Group 1 Group 2
A B C D E F | G H

Weigh ABC vs DEF. If (for example) ABC is heavier then weigh A vs B. If A>B then you have your answer, if A=B then C is the heavier ball. Same scenario follows for DEF.

If ABC = DEF then weight G vs. H and you are done.

2 is the most efficient way to do this.

MB on 3 Jul 2019
0

Hey guys I used rooftop slushie to get an answer for this interview at Glassdoor. You should give it a try.

https://wwww.rooftopslushie.com

Anonymous on 10 Jul 2019

Add Answers or Comments

To comment on this, Sign In or Sign Up.