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.
Thank you so much! it make sence now...i got it!
If both have 0 length it should return true. Both arrays are the 'same' - that is to say they have no elements.
I also tried this situation...not useful~
if(a.length == 0 || a == null || b.length == 0 || b == null){
return false;
}
it also says "expected:<false> but was:<true>"
maybe they're
null
?I think i have same problem with you..have you passed later? what did you do?
Sorry, I misunderstood.
This translation is rather old and I am not the Python translator.
Moreover - as you might know - when more than 500 warriors have passed a kata in a given language it is not authorized to change the tests. Some months ago I added some tests in a few other languages, in Python it was impossible.
Anyway thanks for your posts.
[JAVA]
I can pass all cases except case 4, which length of int[] a and int[] b both 0. i've already checked for this situation at the first time as the code:
if(a.length == 0 || b.length == 0){
return false;
}
but it didn't work!!
isn't it right? did i miss something?