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.
Bit late, I'm new to the platform. But basically what this solution is doing is iterating through the vector for every element in it and counting its occurrences, and returning it if the occurrence is odd. The reason why this solution "is terrible" is because it is an O(n^2) solution. Just because it takes one line of code to write doesn't mean it's efficient.
Saying what's the issue with this solution would be much more helpful than just saying "is terrible"
You are right
Howcome this is a clever solution??
It seems like the only thing matter on this website is the lines of code.
This solution is terrible
ha! you cheater.