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.
This comment is hidden because it contains spoiler information about the solution
Also, when I compared the two approaches, this one seems to be around 300 milliseconds faster at doing the tests.
I want to emphasize though that I have not done extensive testing, so take it with a grain of salt as it may vary in different contexts.
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
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
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
well using default would assume we 'll only get braces, I think the best practice is to not trust anyone and here reserve default to log an error to all the fuckers who'll use wrongly this function XD
in most cases yes, but there is exceptions such as emmbeded devices with limited amount of memory. I think you need to write ur code according to the platform y're writting for
Damn this is what i spent like an hour trying to do, didn't know why arr[1:-1] was not being accepted. Now I see the [] for index had to be outside of the (). Cool.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...