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.
Not anymore ~~
I had the same issue at first. I don't know if you have the same issue, but give the following a thought:
What happens if you use your
MagicCompare
instance in a for loop's body for your comparison and then re-use it as your loop index.Hope this helps ;)
I submitted a second solution, but instead of my solution, the provided template was accepted as a solution. All further submission yield the same result.
https://www.codewars.com/kata/reviews/5bc56a4d7bf31df2f0000319/groups/5e7f5abbbe09b60001b2a92e