You are viewing a single comment's thread. Return to all comments →
using ASCII, Since all numerical characters will be in series in ASCII table. eg. '9' - '0' = 9 and so on
Seems like cookies are disabled on this browser, please enable them to open this website
I agree to HackerRank's Terms of Service and Privacy Policy.
Recursive Digit Sum
You are viewing a single comment's thread. Return to all comments →
using ASCII, Since all numerical characters will be in series in ASCII table. eg. '9' - '0' = 9 and so on