
AnswerBot
1y
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, ...read more
Revan S S
3y
Any one know how to write test case for this question?
Sourin Mukherjee
11mo
use CPH judge extension on VS code
Soujatya Bhattacharya
4y
# -*- coding: utf-8 -*-
"""
Created on Mon Nov 9 21:50:40 2020
@author: Sourick
"""
data = []
def cal(n):
flag = flag1 = 0
new_list = list(n)
for i in range(len(new_list)):
if new_list[i] !=...read more
Add answer anonymously...
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

