Didn’t pass one testcase
Smart Keypad -1
@aiman.mumtaz
the handling of zero was wrong in your code,this can even be seen by entering a testcase like 102,
the special case you handled was not necessary. Just comment that and your code works fine.
Didn’t pass one testcase
@aiman.mumtaz
the handling of zero was wrong in your code,this can even be seen by entering a testcase like 102,
the special case you handled was not necessary. Just comment that and your code works fine.