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.
Just completed the kata :) Thanks!
Oh damn, silly me. :)
Test.assertEquals(balance(array1, array2), false);
array1 = ["a","b","c","d","e","f","g","g"];
array2 = ["h","h","i","j","k","l","m","n"];
This is second example test.
It is "m" and "n", not 2 "m"s :)
Why would this be false?
array1 = ["a","b","c","d","e","f","g","g"];
array2 = ["h","h","i","j","k","l","m","n"];
Both have 1 pair of same letters and all other are different.
This comment is hidden because it contains spoiler information about the solution
Nice and relaxing Kata, thanks! :)
Hmm my solution cannot be wrong and slow anyhow but still not passing:
Passed: 399 Failed: 1
What could be the failed test?
Nice kata! :)
"Try" -well we tried, but obviously not that hard :P
Very nice kata! :)
Thank you, i got it now. And I understood you very well! :)
Very nice although im not quite sure how || works here? :)
Thank you, cool kata :)
Cool kata, thank you :)
Did you modify the input array? It might be a problem since the creator of kata said it should not be modified, i passed first 2 sets of tests, but failed on the random tests because i modified the input array. Now i can't figure out what i have to do to solve the problem, even though my function is returning results equal to the examples in the kata description ("lowest number in the middle..." and so on), and then in random tests you will see that lowest number is not even found in the correct result array.
Loading more items...