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.
res
damn you're right I didn't see that, my bad
thanks for observation, fixed the translation in the following fork
You have to convert them from one base to the other before applying the operator and back after that.
You should make the argument optional in your code I think. It's like that in other languages too.
Error in Java tests:
./src/test/java/SolutionTest.java:35: error: method orArrays in class OrArrays cannot be applied to given types;
required: int[],int[]
found: int[],int[],int
On researching bitwise operators it seems they apply to binary digits not decimal digits. I understand the output of OR is 1 if either of the inputs are 1 and 0 if both of the inputs are 0. How does this apply to decimal digits?