code: https://ide.codingblocks.com/s/460338
prob: phone keypad
for numbers starting with 1 or 0 there is an extra character with the output
code: https://ide.codingblocks.com/s/460338
prob: phone keypad
for numbers starting with 1 or 0 there is an extra character with the output
yeah that one …
in that u have different array
also dont skip 0 or 1 digit.
ur for loop will handel them.
in the video for the question sir was using this one so I decided to code that one but anyways when he is giving input starting from 0 or 1 his output is fine
…
in line 10 of ur code , it should be out[j]
yeah , it was telling u not to skip ,because at hackerblocks they are taking space at palce of 0 ,similar for 1 they are taking another string
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.