Pregunta de entrevista de Glassdoor: "Suppose you had eight identi... |

Pregunta de entrevista

Entrevista para Associate Account Manager Chicago, IL (Estados Unidos)

"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?"

Respuesta de la entrevista

3 respuestas


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 el 3 jul. 2019

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

Anónimo el 10 jul. 2019

Really good lessons to get into top tech companies:

Anónimo el 15 oct. 2019

Agregar respuestas o comentarios

Para comentar esto, inicia sesión o regístrate.