Fragen im Vorstellungsgespräch bei Glassdoor: "Suppose you had eight identi... | Glassdoor.de

Frage im Vorstellungsgespräch

Associate Account Manager-Vorstellungsgespräch Chicago, IL (Vereinigte Staaten von Amerika)

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

Antwort im Vorstellungsgespräch

3 Antworten

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 am 03.07.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

Anonym am 10.07.2019
0

Really good lessons to get into top tech companies:

bit.ly/faang100

Anonym am 15.10.2019

Antwort oder Kommentar posten

Um dies zu kommentieren, bitte anmelden oder Konto anlegen.