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
1mo
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
2mo
57
Anonymous
2mo
Josephus problem:73
Sagar Sinha
4mo
69 th person
Monu Singh
8mo
Person who standing at 73 number will live
HARI PRASAD S R
9mo
1st person
Anonymous
10mo
1
ricksoboro
10mo
33rd person
Anonymous
9mo
Chhagol
Anonymous
11mo
99
Anonymous
1y
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
4y
1 st person
Add answer anonymously...
Paytm Software Engineer interview questions & answers
A Software Engineer was asked 11mo agoQ. Implement the quick sort algorithm.
A Software Engineer was asked 12mo agoQ. What are five of your strengths and weaknesses?
A Software Engineer was asked 12mo agoQ. Given an array, find the next greater element (NGE) for every element. The Next ...read more
Popular interview questions of Software Engineer
A Software Engineer was asked 11mo agoQ1. Implement the quick sort algorithm.
A Software Engineer was asked 12mo agoQ2. Given an array, find the next greater element (NGE) for every element. The Next ...read more
A Software Engineer was asked Q3. You are given an m x n grid where each cell can have one of three values: 0 repr...read more
Stay ahead in your career. Get AmbitionBox app
Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app