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.
done
This is an old discussion, but still...
@albarralnunez's tests are wrong. If you time the custom min/max searcher with built-in functions (which is what should have been timed and compared) while using big inputs (where the random fluctuations in speed don't influence the overall time significantly enough to distort the outcome) you will see that calling a custom function will be nearly as fast AT BEST while on CW and repl.it it's always been approximately
1.4 - 2
times slower.that's why I said "not always"! ;) My message was directed to you in case you didn't know but to other warriors too (who often do not know about that, especially warriors doing 7 kyus).
Thanks for the complementary informations! :) (EDIT: note there's only 12-13% of gain in the perfromance, though, going from 4 passes of built-ins to 2 passes of "home-made" functions)
Actually, do not bet on the gain in efficiency: often (not always), several passes with built-in functions are faster than one pass with one "home-made" function. Moreover, with a language like python, the more code you have to execute, the more slow you become.
gonna go ahead and resolve this issue
The class is provided. You only need to implment the function, and the members are already there, rest and value.
This comment is hidden because it contains spoiler information about the solution