Recursive Digit Sum

  • + 1 comment

    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.