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.
I agree with waldnzwrld. that is not the porpus of this kata.
the ^ is a logical xor not a bitwise xor
Thanks for suggestion
Since this is a kata that demands some math knowledge (permutations and combinatory), I would suggest that the "Math" tag would be added to it.
As you no longer provide the working solution, you can mark this issue closed :)
This comment is hidden because it contains spoiler information about the solution
Thanks! This is my first authored kata. Sorry! =)
Uhhh ... I think you provided the complete working solution to the user.
Most people fail on tests including extra whitespace. Check that your solution can deal with it.
Mine is failing in test 1009 (I suppose), but it seems that it's just like the first one. Could the author please check it out?