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.
I got same solution
This comment is hidden because it contains spoiler information about the solution
Because the two conditions are not exclusive.
Tell me why the else after the first if did not work in my code ?
This comment is hidden because it contains spoiler information about the solution
you have a point but the problem statement included that it will always be three arrays
this kata is about learning the array methods anyway
Will not work for arrays larger than 3. Check my solution: http://www.codewars.com/kata/reviews/572b80212bedd3f919000097/groups/5bb93040484fcd32be000995
this solution does not work if the arr is longer than 3. Also not DRY
Amazing solution!