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.
Thanks, i didnt know this kata befor.
Im not sure.
A soulution for "XOR Swap" also works for "Swap two numbers", but not every soulution for "Swap two numbers" works for "XOR Swap".
Moreover "XOR Swap" is for C++ and "Swap two numbers" is for js.
thanks.
I fixed it.
This comment is hidden because it contains spoiler information about the solution
thanks.
I fixed it.
thanks.
I fixed it.
This comment is hidden because it contains spoiler information about the solution
i have n change to unsigned,
so if((factor-diff/2)<limit) is unnecessary,
my bad