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.
Please help me understand why these testcases are failing in Java. I'm banging my head for quite a few days what's wrong with my code.
test(RemovedNumbersTest)
Log
Random test 0
Random test 1
Random test 2
Random test 3
Random test 4
Random test 5
Random test 6
Random test 7
test10(RemovedNumbersTest)
✘ Arrays not the same length
This is an exciting problem. I got what's the problem with my approach.
I found a pattern and used it.
Thank you!!
Description is good and gives the right background for the problem.
Including more testcases would be helpful.
yes, it is working with the examples.
It worked for the large number test as well.
I don't get why my solutions is not working.
As others pointed, test cases has int[] but the solution expects long[].
Pls help to resolve.
Pls guide me!!
My solution works in IDE.
I have used BigInteger.compareTo for looping and BigInteger.or() method for bitwise or operation.
Could you pls tell why is it not working in Kata?
Maybe I am naive. Pls guide me.
I have tried these cases.
a == null || b == null
a.length == 0 || b.length == 0
if both arrays are equal.
should_test_predefined(ReverseTest)
hello world expected:<12> but was:<11>
Could someone pls explain the error?
How is it expecting 12?
Might be an issue in the unit testcases
I have taken care of boundary cases like a or b being null.
And then if a length is zero or b length is zero, I will return false.
Could you tell me if where I am going wrong?
Trying in Java.
I'm having issue with Test case # 4. Other test cases passed.
Pls help.