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.
That is best practice not nonsense in top....
Nicest method lol
This article (https://levelup.gitconnected.com/two-number-sum-in-golang-355627d6c861) describes the problem with this implementation, but I simplify the example to easily understand.
^ is bitwise exclusive or
It compares corresponding bits in two numbers. It sets the corresponding bit in the output to 0 if the two corresponding input bits are the same and 1 if the bits are different.
See: https://wiki.python.org/moin/BitwiseOperators
what is this ^ symbol ?
Gorgeous, thank you
This comment is hidden because it contains spoiler information about the solution
It could be a suggestion but not the issue of the kata.
That's correct! See my fork that fixes the issue.
Also, this should be specified in the description and reenforced in the tests.
Cheers
i dont agree with this solution.
If you got an r = 0 in your param like I do, this solution fail
very well,I first know there are a class named fractions
What weird language is that ?!?
I'm sure most beginners are not aware that a bool is a subtype of int (True = 1 & False = 0) so a hint in the description will save some headaches.
Not an issue
There is a testcase that has a word that starts with a number.
Loading more items...