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.
Getting all of them can be very expensive for large arrays with small n.
Which means I'm NOT lazy! I knew it this whole time!
Because most people are lazy ;-)
too much code golf and less BP
not many started from the end of the list. strange.
Thanks for wise advice
This comment is hidden because it contains spoiler information about the solution
Because I'm lazy
Then why are you using the same solution?
It was created in python 2, where the output of
range()
is a list.In python 3, you need to transform it into a list.
This does not work it just outputs range(1,5) and not 1,2,3,4,5
How would you overcome that?
Returning boolean value inside a conditional flow(if-else statement) can be simplified to a straight return.
This comment is hidden because it contains spoiler information about the solution
Not really best practice, because you traverse the whole list, although in most cases it's not needed.
Loading more items...