Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
This is not a best practice. If you are testing the number 1000, you are applying
n % $0 == 0
499 times more than needed.Great Kata. My girlfriend love it!!!
I do not know if this is an issue or a question.
I am using Swift and I am trying to use the function pow(Decimal, Int) but I am getting this error:
error: cannot invoke 'pow' with an argument list of type '(Decimal, Int)'
I tried with import Foundation but I had the same result.
The problem is that this function is already working in my playground and I am getting the correct answers with all my tests.
Thank you for your feedback. Great Kata btw.
Fun Kata for patience readers...
Great kata. I love it. I needed pencil and paper and got the answer in 10 minutes. I spent three days without pencil and paper.
Fun Kata but it should be 5kyu... maybe 6kyu.
This comment is hidden because it contains spoiler information about the solution