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.
Thank you!
I've now modified the description, so that it is clear, that x is the index in the sequence.
The sequence has more than 3 values, because it might be easier for people to find a pattern.
The syntax errors are now fixed. Thank you for reporting.
Solutions like this are not possible anymore. Thank you for pointing out the issue.
Thanks
I have now also taken the same code and tested it in javascript. Everything including the random test cases worked.
When I click on attempt to run the test cases, the result is always expected to be zero. This problem only occurs with the random test cases. The other test cases work. I am using typescript 3.8 if that is relevant information.