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.
Nice coding challenge of the series as well, it takes a while to figure this one out.
Python new test framework should be used
Range of inputs should be specified
updated
Ruby 3.0 should be enabled, see this to learn how to do it
Fixed
Ruby random tests are raising errors by itself:
Well..
What if two sequences have the same first element?
The description says 'all possible', so return all in ascending order.
What if 2 arithmetic progression have the same start? Should we return only the first or both? And in which order?
I have seen nothing in description about this.
Thank you for the heads up :-)
Thanks for the approval
There are 95 random tests, and that should fit well in the time limit. Check your algorithm
Just a quick question - how many 'random' tests are there? I've up to 33 tests passed only for the overall to fail due it breaching the 12s boundary. Now this is my first python code snippet, but I figure if the algorithm works well enough to pass all the tests it reaches, maybe something needs to be added to the description covering the time requirements? Or is it possible that I'm getting too many random tests?
Cheers
Kevin
Ruby tanslation kumited -- please check and approve
Loading more items...