This comment is hidden because it contains spoiler information about the solution
so hard for me, the number is tooooooo huge!
I enjoyed this kata so so much, then i had a look at the top answer ahahahahah!
IMO it should be 3 not 7
If this is to test coding - rather than knowledge of number theory - my suggestion would be the inclusion of info on the key test to determine the final digit - not as code but as the general idea.
How much info to include depends on what one thinks the kata is about - to which there will be different answers.
Possible answers include:
My suggestion is that if the kata is not to be about 1, 2 or 3 in that list then more info would be good. With more info the coding of the solution would still something to solve. But without more info it assumes search engine use (fine if by design & seeing others' solutions of course helps with best practice - not so fine if the info provided is meant to be enough to solve) or recreation of number theory (not so reasonable I think).
To large testing numbers...
I'm running into the same issue. I'm not really sure what I've done wrong, but I'm getting hung up on that last test.
I can modify my code to get the correct answer for that specific instance, but doing so breaks the rest of my responses, so I must be doing SOMETHING wrong, but I can't figure out WHAT.
No random tests.
Will not work for non-English words, obviously.
What? Look at the number of completions - everything's fine with the kata.