How Many Kids Are in the Circle?

A group of kids are standing in a circle and playing catch the ball. For fair play, they always main…

Click here to read the complete problem statement.


If you need help solving this problem, mention your approach and ask specific questions. Please avoid sharing your code and asking the Community to figure out “what’s wrong”.

is 2n>m possible ?? i have a doubt …where n=25 and m=29 …what is the answer of this case??

It’s not. It’s quite impossible to 25th kid is standing right opposite to 29th. So, 2n>m is not possible. You wont get this input in any test case.