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.
Random tests in C# expect
0
forstart == end
cases which is wrong as the answer should be the value ofstart
(already raised as an issue numerous times)This comment is hidden because it contains spoiler information about the solution
Not a suggestion.
If you can write a brute-force solution (that will pass up to sample test 6) I think you've perfectly understood the descriptions ;-)
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 comment is hidden because it contains spoiler information about the solution
Burst into laughter
Don't use programming tricks to get rid of that division, only mathematics can help you ;-)
As mentioned by lechevalier below, you need to get rid of a certain
division
;-)Don't rely on dirty tricks (like a certain Haskell solution), this is an algorithm kata ;-)
Yes, CW runner servers are using AWS T2 micro IIRC, so only 1 core. :(
This kata presents a rule to know if a number is divisible by 7 or not. You aren't supposed to return if it is or not, you have to follow the rule presented and return the last result of the iteration and the number of steps it took to get that number, there is no contradiction in that.
RTFM! (correctly...)
Loading more items...