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 question was amzing
However, the tests could be better
The description should be language-agnostic; exact specifications for a given translation can be given in solution setup
This comment is hidden because it contains spoiler information about the solution
Fixed.
Reraised as an issue.
Rust (and probably others) do not test for perfect squares and let wrong solutions pass.
Edit: no random tests at all.
Not a kata issue!
Your code assumes all odd integers are primes, which is wrong
Your code returns
[]for2which is a prime itsdelfThis comment is hidden because it contains spoiler information about the solution
[Haskell fork]
The random tests were pretty weak (only testing numbers up to 100), and have been rewritten.
In Codewars, you can usually see the inputs by printing them out.
How can I see which input causes my solution to fail?
Solving a Kata
You can think of Hajime as something along the lines of "Let's start the exercise!"
Have thoughts...
Approved
Approved
I don't know math incredibly well, but I feel like this was really poorly worded. Wasn't sure what it wanted me to do for a while.
Loading more items...