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.
This could work for even occurences too. found = 1.
isn' the correct answer 1 here?
I love this.
Please use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
Thank you a lot, you helped me to understand the code above
This is some Dark Side Force here! =)
This comment is hidden because it contains spoiler information about the solution
Thanks for the link.
See @Mr.Vine resplay. It fails on "new[] { 1, 2, 2, 3, 3, 3 }".
Very clever! Though it only works for odd occurrences (this would not work to find the one number with an even number of occurrences).
thanks for the explanations.