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 approach is correct and perfectly fits the time. My solution with the same approach took 2273ms to execute all the tests.
Please don´t post hints in Discourse. Submitted solutions are in
Solutions
, you can comment a solution there if you want, that's enough. However,you must use a spoiler flag as soon as you give a clue to a solution, comments posts are visible to everyone by default. Users who didn't solve a kata must not be given the solution.This comment is hidden because it contains spoiler information about the solution
Python. v1, functions like:
12+s on the second test. Timeout.
v2, bunch of ifs:
0.6+s. Passed.
Similar story. Python. For random tests fails with [X] should equal [X, X]. Can't get it.