You are viewing a single comment's thread. Return to all comments →
I hate recursion, forgot return keyword return after if clause and was wondering why my code wasn't working from the last 3 hours :'(
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 →
I hate recursion, forgot return keyword return after if clause and was wondering why my code wasn't working from the last 3 hours :'(