https://ide.codingblocks.com/s/56093
question is smart keypad 1
what is the prblem coming???
Getting wrong answer in 1 testcase
Hey Vishesh, you table array is wrong as per the array mentioned in the problem statement there will be a space at 0th index. Also, check your code for this input
input:
5608
your code’s output:
jmt
jmu
jmv
jnt
jnu
jnv
jot
jou
jov
kmt
kmu
kmv
knt
knu
knv
kot
kou
kov
lmt
lmu
lmv
lnt
lnu
lnv
lot
lou
lov
but the expected output is:
jm t
jm u
jm v
jn t
jn u
jn v
jo t
jo u
jo v
km t
km u
km v
kn t
kn u
kn v
ko t
ko u
ko v
lm t
lm u
lm v
ln t
ln u
ln v
lo t
lo u
lo v