Recursive Digit Sum

  • + 1 comment

    Even when i used lru_cache in python , it failed 3 to 4 test cases. Then i tried using a custom memo, it still failed those test cases by exceeding recursion limit. Could you elaborate a bit .