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 comment is hidden because it contains spoiler information about the solution
This would've never ocurred to me! I didn't know there was an absolute value function XD.
This is not a best practice. If you are testing the number 1000, you are applying
n % $0 == 0
499 times more than needed.Hello! I'm super new to swift and programming at large. Can you please help me understand what you did here?
Nice! I think you could even omit "return".
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...
Oh, why didn't I guess this way... )
My first kata...very enjoyable...and it looks like I am the first one to submit a pure bash solution. (<-maybe I shouldn't be so proud of that? Really, I had to wait for ther servers to not be so loaded that it could complete in under 12s)
Thanks.
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.
Loading more items...