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 like Test passed, value equals [1, ..., 900] take up too much space and provide zero value, and everything is slowed down due to the output size.
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.