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.
The user's solution may be swapping elements with the same ordering thus failing sometimes, but there're not enough tests to catch this.
This is a random test from the reference solution:
Something's wrong. Not always, but sometimes, the sorting's wrong for
onij
.I haven't been able to figure out what, sorry.
Typo in description:
Should be
All kinds of things are checked. But not if the iterator actually finishes.
( The example tests time-out, of course. )
It's not ( quite ) as bad as Fibonacci - but there are a dozen other Collatz kata. Generators have been done before as well.
Is this new enough?