Tip:
Highlight text to annotate it
X
counting one, two, three
you have eight balls
all of the same size
seven of them weigh the same
and just one of them weighs slightly more
how can you find which ball is heavier
this question have been asked from top companies
on interviews
the interviewer is trying to find out how you are thinking
and how you can solve particular problem
the question is coming in different variations
one time it could be balls
another time could be coins but it doesn't matter
it is pretty much similar they are trying to find out how you
guys thinking and how you able
to resolve, however
how you are able to come up with solution in particular situation
in how many weighings, you are going to find out which one
is the heavier, let's say here
we weigh three by three
he have one time
and we place here
this is the second time
and from here we end up with three times
the people who asked this question is not there question, they probably
already searched via internet and find out the question
from somebody else and they tried to incorporated in their interview
interview question, it's not clear what actually
they want to do or they do not describe very clear what is the goal
but the original question they found
found it's you have eight balls
one is heavier, seven weigh the same
the same one is heavier them the seven
and how you can find which ball
ball is heavier in two weighings
I already showed to you and actually I did it
in 3 (three) weighings, not 2 (two)
this question is kind of difficult if you don't have the actual balls
you cannot imagine in you mind, it is
it is kinda of difficult to answer this question if you don't have the balls, in you hands
you don't feel, or see the difference ...
here is the answer and it is simple and makes sence
you make three groups of the 8 balls
first group of 3 and second group of 3
then you make ...
the third group of 2, you get the balls
the balls
you are getting the balls in the first weigh
three balls in one hand and another ...
another 3 balls in another hand, so in the first weigh
trying to weigh the balls
in the first weigh if the balls are the same, then the
... heavier ball is in the third group of two
we got the two ... and we can easy find
if this is the heavier you found which one is heavier in ...
in 2(two) weighings
... Oh, here is the problem, that I found
get back and this where I found a problem, start again
here I will show you that I found a problem
we compare first, the group of three
so if we found the heavier ball
the heavier ball in one of my hand .. let's say
the heavier ball is here then I separate
we end up with 2 weighings, 2 times
if the heavier ball is here, it is actually 2 weighs
but the what is happening if the heavier ball
balls is in this side, then the heavier ball
balls is here ... then
you must complete in 3 weighs
it is kind of tricky question ...
we have two situations ... first
first we get the groups of 3
if the heavier ball is not here
we did the first weigh
we go and complete the second weigh
where we found which ball is heavier, but this is in the ...
ideal situation in the first time ... the frist weigh
we have 3 balls in one hand and 3 balls in another hand
another hand, let's say the heavier ball
ball is here so we put these back in my pocket
together, we get the two balls and one ball
completed in 2 weighings, if this is the heavier ball ... then
then we finished in 2 weighings
but just in case, we ...
we decided that the heavier ball is here then we completed
... we completed, actually in three weighings
hey guys it was another wonderful day in Paradise
... Paradise, so feel free to write comments
down there, it is a button subscribe under the video and please subscibe
and you will be able to find more interesting videos
... videos of the next few days
Thank you, for watching ... The video is created by Kn Video Studio LLC. Visit us at http://www.KnVideoStudio.com