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 tried this solution and it failed all the random tests. I saw it here, went back and tried it again and it still failed?
For me it correctly returns "10". I think you copied something wrong maybe?
this code doesn t work correctly.
I copied it then tried to sum 1+1 and got 1011.
addBinary('2', 3);
It's not required for this Kata but it's good to know for external use when converting between denary and binary. See here for more information.
why need
>>> 0
ahhahaaaa!