Question
Question
st person owns a sord and kill the second person., then third kill the fourth person this goes on untill one single person remain. Which number(person) it is? What was asked by Recruiter was on position would u like to stand?
977, I guess Josephus problem. Convert 1000 to binary -> 1111101000 Now move the MSB to most right hand side. So, 1111101000 gets converted to 1111010001. Convert 1111010001 back to decimal -> 977.