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.
@juliand665 -- ah! you're correct -- that makes sense.
There should really be more than one test case in the attempt to check for edge cases and prevent overfitting (and it's a kindness to have sample test cases pre-written :) )
Why are you doing join(" ").split(" ")?
arr.join(" ").split(" ") == arr
I realize that these kata are written for multiple languages, but in Ruby this should really be written as a predicate:
Array.same_structure_as?(other)
since it only returns a boolean.
ugh. this is so elegant I hate my solution.
The instructions should be more clear, or the test cases should provide more output.
The script I wrote fails on the third test, but there is inadequate information in the Instructions to know what additional circumstances I should account for.