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.
OP solved it, closing
Test result "'' should equal '\n'" looks a bit scatchy with "Any whitespace at the end of the line should also be stripped out." condition...
Hand typing all pairs, including "SOS" and punctuation gave Me a good laugh, several times.
...and again after I've figured it is hardcoded already.
Although works, I feel this solution just fooled tests at some point.
erm... it could be that your solution is too slow
that particular array being a beginner case is subjective after all ;)
Although working, my solution gets a timeout on len(arr)==10**4. You sure that's beginner case?
Ah, voting best for having doc =)