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.
Yeah I just solved it for all cases that DON'T include number in the middle of the string, ran the test cases and learned the hard way that my code did not pass 2/13 tests...will require some rewriting :/
I was confused by the problem definition at first but figured it out, similar issue as many posters below. Find the longest string in the first array minus the shortest in the second array? No, that's not it. More test cases would have been good to illustrate.
The other issue is I've solved the problem in Ruby, my code runs fine on my local machine. Then I do attempt and all cases pass but I get an exit code of 1. I solved the problem in 12 lines, and tells me there's an error on line 19 that 'length' is an unknown method. Not sure what's happening...