Smart keypad 1 doubt


one test case is not passing
please check where i am missing .

Sonu, I have edited your code, There is no need to include the condition that if k==0 or not,
I have omitted that line of code … try to submit now,

1 Like

oo
got it
thank you ma’am!