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.
In the kotlin version it seems that the randomly generated array1 can contain duplicates. Since the requirement is no duplicates in the result it can fail.
I distinted array1 at the begining and this caused the test to pass.
It seem like this should be added to the fixed tests so it is clear that you could be given duplicates.