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.
You are right, I was mixing them up. I was apparently being dyslexic when I read my output lines.
Thanks!
Maybe there is another corner case with the null or empty?
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?
Did you think of corner cases?
Trying in Java.
I'm having issue with Test case # 4. Other test cases passed.
Pls help.
I think you are mixing test 5 and test 6. In doubt post your test but there are no errors in the tests.
In C#, I'm having trouble with test case #5. After reading through comments, a couple of others have too.
Input:
a=[121, 144, 19, 161, 19, 144, 19, 11, 1008]
b=[121, 14641, 20736, 36100, 25921, 361, 20736, 361]
This is basically the invalid example from the description with "1008" being added to array "a", but this time it's expected to return true. I cannot wrap my head around why it is expected to return true, when it is shown that it should return false in the description of the kata itself. Any suggestions?