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.
I guess test cases 0, 10 and 11 are not well designed, since they expect an output of 3 for an input of 148, an output of 8 for an input of 875, and an output of 9 for an input of 123. I am working with Swift.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Recursive Digit Sum
You are viewing a single comment's thread. Return to all comments →
I guess test cases 0, 10 and 11 are not well designed, since they expect an output of 3 for an input of 148, an output of 8 for an input of 875, and an output of 9 for an input of 123. I am working with Swift.