There were 100members who are standing in circle form with numbered on them like 1, 2,3 upto 100. If number 1 has a knife and killed the next one right behind him and give it number 3 likewise it contines upto 100.Then who will be left if this process repeated?
Answers were Sorted based on User's Feedback
Answer / vasanthvicky
After 1st round:
1,3,5,7,9⋯99
1,3,5,7,9⋯99
2nd round:
1,5,9,13⋯97
1,5,9,13⋯97
3rd round:
1,9,17,25⋯97
1,9,17,25⋯97
4th round:
9,25,41,57,73,89
9,25,41,57,73,89
5th round:
9,41,73
9,41,73
6th round:
9,73
9,73
And 73 kills 9 ultimately. :
| Is This Answer Correct ? | 7 Yes | 0 No |
4 men and 6 women can complete a work in 8 days, while 3 men and 7 women can complete it in 10 days. In how many days will 10 women complete it?
How to find the Table name for the Specific Field?
How can you load large amounts of data from flat-text files?
can anyone tell me the program to compare two files and write matching records to a file and unmatched to another in mainframe.
How does a flocking-based steering system work? What are the components of a flocking-based steering system, and how are they combined? When does flocking-based steering break down or produce undesirable results? Are there any performance implications of the standard flocking model as described by Craig Reynolds, and if so, what are some ways to address them?
What are Aggregate Functions?
Where will find the Variants?
In one room in your game, there's an elevator that AIs will need to use to escape from the player. In order to use the elevator, they have to walk over to a special button on the wall, press it to summon the elevator, then walk into the elevator and press another button to tell it to ascend. How would you design a system to make sure AIs can do all of these things in the proper order? If you have 3 AIs in the room, how would you design the system to make sure they can all escape in the elevator at the same time? What happens if one of them dies while they're trying to do this, and how do you make sure the other AIs don't get stuck waiting for that dead AI?
Where we can activate Rebates?
Compare two strings character by character in qtp
What's the difference between a finite state machine (FSM) and a hierarchical finite state machine (HFSM)? Give an example of a hierarchical state machine with functionality that you could not easily replicate in a non-hierarchical FSM.
What is the movement Type for Sales?
Software (196929)
Sciences (12521)
Engineering (38023)
Business Management (7372)
Accounting (11552)
Advertising Media (662)
Architecture Design (207)
Call Centre (2482)
Fashion Modelling (332)
Government (17383)
Law (806)
Tourism Hotel (377)
Everything Else (2322)
Military Police (160)
Skills Abilities (0)
Aptitude Questions (4305)
Placement Papers (705)
Certifications (3752)
Visa Interview Questions (2231)
Code Snippets (1098)
Entrance Exams (862)
ERRORS (16636)