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 kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/162.
Please join the discussion to help us identify duplicate kata and retire them.
The input size should be lowered or the tests should be changed to use
Test.expect
+ custom array comparator. Error messages like[...] expected to be [1, ..., 900]
are terrible, messages likeTest passed, value equals [1, ..., 900]
take up too much space and provide zero value, and everything is slowed down due to the output size.