[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

Interview Puzzles :: Discussion

Home > Puzzle Archives > Interview Puzzles > Post Your Answer
  • There are n persons in a circle, numbered 1 thru n. Going around the circle, every second person is removed from the circle, starting with person number 2, 4, and so on. Show that the number of the last person remaining in the circle can be obtained by writing n in binary, then moving the leftmost 1 to the right. So for example, with n = 13 persons (1101 in binary), the last person is number 11 (1011 in binary).




    Explanation :
    No Best Answer on this question yet!

    Not Yet Asked in Any of the Companies

Post Your Answer Here:



No Discussion on this topic yet!!