We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Recursive Digit Sum
- Discussions
Recursive Digit Sum
Recursive Digit Sum
Sort by
recency
|
206 Discussions
|
Please Login in order to post a comment
Java:
I dont know what im doing wrong:
I don't get it. Described example '9875 4' results with super digit 2, but in Test case 1 with the same input the expected output is 8...
C++ solution
def superDigit(n, k):