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.
[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.
added random tests to Rust
Fixed JS.
Lua translation!
Reference solution was buggy and returned wrong expected result for integer=2. Should be fixed now.
Can you post your code, so i could use it to reproduce and fix the issue?
There is a problem with one assertion in the Elixir version.
The exercise requires to return a sorted list, but it fails when it gets [1, 2] it is supposed to expect [2, 1]
How can this code be a best practice? It is at least twice as slow as the mathematical method of calculating the square root of a number
True but you have to use floor division in that case, otherwise you will get an error for range doesn't work with floats
very good
Loading more items...