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.
Sets are unique elemets [1,2,2,2,2,3,4] in a set would be [1,2,3,4] so you can not count set occurances, I mean you could but it would be pointless as they will always be 1 ocurrance of an item :) I see where your thinking was going though
1as4hJUwhlDvqWOjC6APkibN5,
No, it's not. The complexity is still O(N²).
This comment is hidden because it contains spoiler information about the solution
Tried stating this as an issue yesterday, but it was marked resolved. I was expecting it to return the same color each time it's referenced, but my implementation that didn't do that worked.
lol, that is actually the only unit test I used, and my answer is 2. I think both opinion makes sense.