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.
My code is pretty simple; straightforward decimal math. Faster than most of the solutions here in the "Best Practices" section. Especially the ones using Linq. One solution using bitwise operators (https://www.codewars.com/kata/reviews/56a1b61ab8433c6f3c000079/groups/56db0ec73cb6f579c50011bd) was faster than mine by about 30%.
Your solution was 20 TIMES FASTER than mine. Just. Wow. Time to go down a rabbit hole...
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