Puzzle : 100 people are standing in a circle .each one is allowed to shoot a person infront of him and he hands the gun to the next to next person for e.g 1st person kills 2nd and hands gun to 3rd .This continues until one person remains.who is that person?
Anonymous
18d
Find the largest power of 2 less than or equal to 100: 2 6 = 64 ( since 2 7 = 128 > 100 ) 2 6 =64(since 2 7 =128>100) Subtract: 100 − 64 = 36 100−64=36 Apply the formula: Survivor = 2 × 36 + 1 = 73 Su...read more
Manjunatha K
1mo
57
Anonymous
1mo
Josephus problem:73
Sagar Sinha
3mo
69 th person
Monu Singh
7mo
Person who standing at 73 number will live
HARI PRASAD S R
8mo
1st person
Anonymous
9mo
1
ricksoboro
9mo
33rd person
Anonymous
8mo
Chhagol
Anonymous
10mo
99
Anonymous
11mo
First person next to second person
fertileeggnog
1y
First and next to the last
Anonymous
1y
1st person
Vikas Kumar
1y
Help full all person steps wise
Anonymous
1y
1st person there is no one left 1st person killed 2and next to 3 this circle continuously in process
Vikas jamadar
1y
First person and next to the second person
Harish S
1y
First person and next to the second person
MANIKANDAN
1y
100 people are standing in a circle .each one is allowed to shoot a person infront of him and he hands the gun to the next to next person for e.g 1st person kills 2nd and hands gun to 3rd .This contin...read more
Anonymous
3y
first person
Navnath Rodge
3y
73 numbered person
Sameer Kumar
3y
Here, we can define an array with 100 elements with values from 1 to 100.
- No.1 has a sword. He kills next person (i.e. no. 2) and gives sword to next to next (i.e no. 3). We have taken array element...read more
Venkatesh Chowdary
3y
1 st person
Add answer anonymously...
Paytm Software Engineer interview questions & answers
A Software Engineer was asked 7mo agoQ. Explain the internal workings of a hashmap.
A Software Engineer was asked 7mo agoQ. Given head, the head of a linked list, determine if the linked list has a cycle ...read more
A Software Engineer was asked 8mo agoQ. What are the differences between MongoDB and SQL?
Popular interview questions of Software Engineer
A Software Engineer was asked 7mo agoQ1. Explain the internal workings of a hashmap.
A Software Engineer was asked 7mo agoQ2. Given head, the head of a linked list, determine if the linked list has a cycle ...read more
A Software Engineer was asked 8mo agoQ3. What are the differences between MongoDB and SQL?
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app