Smart keypad-1 problem


showing wrong answer for test case 1.

hi ayush there was small error in your code
i have commented that part of the code. now its working fine

where have you commented?


because there is no commented line here.

refer this

thank you.It worked now