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.
Very nice. Not unique values, but realy nice!
This is nice and simple solution. But it does not guarantee uniqueness of values.
А card like ['B1', 'B1', 'B1' ... ] will not look good.
This is a nice brute force implementation.
But I would write
array=[Math.min(...temp),Math.max(...temp)];
instead of "array = temp"
otherwise, the array might be TOO large.
This comment is hidden because it contains spoiler information about the solution