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.
Quite of a challenge to figure out, well made kata.
lol
This is amazing. Is it in Python?
And why is that?
This comment is hidden because it contains spoiler information about the solution
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.
It's easy with regex. Plus, I don't think this is Kyu 8. The author thought of what?
17 if else statements? lol
He/She should've put it as a dict...
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Not only are you trying to be pedantic, but you also don't even seem to understand the rule you're trying to be pedantic about.
That method does accept two parameters, since two is in the range of 0..N. The opposite of accept is reject, and if that function rejected
two parameters, the tests would not pass.
Also, why are you criticizing people for improving the function by not limiting the amount of names a person can have? At least hundreds of millions of people in the world have more than two names.
Description is now language-agnostic, so closing
good
for me its not readable at all ! xD
i know of one other which was the exact same length. what are the other ways tho?
EDIT: I found a way which is 1 char shorter
Loading more items...