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.
i
is not awailable on this stage.smallest = arr[0]
can be usedThis comment is hidden because it contains spoiler information about the solution
Short code isn't 'good code' if it's several orders of magnitude slower at the end of the day.
short code is good code
This solution was submitted for older version of the test framework. You need to run it with python 3.6
Doh, right.
But why can't I fork and run it'?
Damn you're right, I thought it worked in python, but the code is slightly different.
You should but you don't; there are more tests than 7... Not a kata issue. If you are timing out either your code is too slow or you have an infinite loop.
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 fails on 2.
This comment is hidden because it contains spoiler information about the solution
The Python way?
Import a c-based module and let it do the heavy lifting?
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...