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.
yeah, hard to read but smart as f
parameter a is smallest , and b the largest , theres no need to sort ...
lol, I didn't realize nums where sorted xD
You will like https://www.codewars.com/kata/52bb6539a4cf1b12d90005b7 this kata then :) // It's battleship field validator.
Tried to find your solution, but unsuccessfully.
There are several open issues about the lack of random tests, there is no need to open more. Thanks.
If you want you can fork the Python version to add random tests. Note the random tests should ideally generate both valid and invalid boards 50% and 50%.
This comment is hidden because it contains spoiler information about the solution
I did it the brute force way. Not proud, but at least my code can be read by a monkey.
Because that would be too easy I guess? Apparently children know how to determine perfect powers.....
This comment is hidden because it contains spoiler information about the solution
I was talking about the mathematical "theory" of which you were complaining. I believe an average 10-12 group person is aware of what perfect power is.
If any 10yo person can solve this kata then I must be intellectually disabled.
Just because this is too elementary(infact primary school stuff).
This comment is hidden because it contains spoiler information about the solution
shouldWorkForRandomlyGeneratedMiniStringFuckPrograms
Last test, not working. Any hint?
Einstellung Effect
Loading more items...