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.
That's a great move right here! well done !!
its called aliasing..
number_to_string = str
its like instructing python that str has another name as well, namely 'number_to_string'.
In a sense
Probably True
is arguably better than running virtually forever with no result. :PHey, that's my favorite primality test! Nothing else would come to my mind when testing larger numbers. In practice, 5 rounds is more than enough in most cases, don't need 40. :P
es mas effectivo porque hace operaciones en binario.
aumenta el tiempo de ejecuciĆ³n.
Rust: The tests seem to have issues.
I got this compilation error:
I suspect the
size
variable in the test is u32 instead of usize.nerd :P
Nice kata, but would have like to see tougher tests. Maybe go up to 1000?
Also, it would be good some form of anti-cheat, upper limit for characters perhaps?
done
approved
This comment is hidden because it contains spoiler information about the solution
Thanks for the detailed explanation of this approach.
This comment is hidden because it contains spoiler information about the solution
Dayum thats a smart move
Loading more items...