Filter interviews by
The problem is about a game where kids recite a rhyme and one kid leaves the circle after each round until only one kid remains.
Try input combinations like (n=5, m=10), (n=8, m=15), (n=3, m=5), (n=6, m=12)
Expected outcome will be the number of rounds played and the kid who leaves the circle in each round
For example, for (n=5, m=10), the expected outcome could be 2 rounds played and kid 3 leaving in the first round and
Top trending discussions
Associate Product Engineer
56
salaries
| ₹6 L/yr - ₹9 L/yr |
Production Engineer
32
salaries
| ₹6 L/yr - ₹7.5 L/yr |
Digital Marketing Analyst
21
salaries
| ₹2.4 L/yr - ₹4.4 L/yr |
Full Stack Developer
17
salaries
| ₹6 L/yr - ₹8.2 L/yr |
Associate Software Engineer
11
salaries
| ₹6 L/yr - ₹7 L/yr |
Accenture
IBM
TCS
Infosys