100 people are standing in a circle. The first person has sword in his hand. He kills the second person and hands over the sword to the third person. Then the third person does the same. This goes on and on until one person is left. At which place is he(alive person) stand.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Well this one is most frequently asked one, however I try to make approach simple: - One in every two person dies! so here we should be careful while modelling the problem
Basic Sense is that if the total number (N) is a power of 2 then the FIRST one to start never dies!
So get a number k=Power of 2 as well as nearer to total number (N) in this case N=100. Thus k=64.
Thus for 64 people to remain we have to kill 36 people. which will map to 72
because @ first go , all even no's will die!
The next no i.e. 73 will become new NO.1 and total number of people will be 64(a power of two).
Thus 73 is the person that ll survive.
Well