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.
youre close to your given runtime but using arr1.sort() and arr2.sort() at the start ruins it - try arr1.reverse() and arr2.reverse() instead
This entirely defeats the point of the problem, that being to take advantage of the fact that the arrays are already sorted.
same
This comment is hidden because it contains spoiler information about the solution
nice radix conversion from int to string
counting matches of '1' is simple, and could easily scale to higher radixes such as octal
could easily be extended to match multiple digits, such as .count('137')
range traversal is clear
accumulator function sum() over a list is also a nice aggregate function
Well, having to figure it out in native code on your own makes it a great kata on dynamic programming.
How does this have anything to do with math?
that is a smart solve ,, i like it , i know that is don't best practice and there was more solutions is more readable than it's but this is a new practice and a new way for the solution for me, so i like it.
i know my english language is bad :)
This comment is hidden because it contains spoiler information about the solution
First time I notice that if R and or G if greater than B we get yellow :D :D :D
But overall nice one ;)
C# Translation
Approved
python new test frameworks
it doesn't work for None
This comment is hidden because it contains spoiler information about the solution
Loading more items...