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.
Right. With that in mind the solution is smaller, and passes all test cases. Thanks for your patience!
OK, even when carefully keeping the order, there's a faulty test case:
['it', 'wkppv', 'ixoyx', '3452', 'zzzzzzzzzzzz'] 3
'wkppvixoyxzzzzzzzzzzzz' should equal 'ixoyx3452zzzzzzzzzzzz'
The 3 longest strings are (in order): 'wkppv', 'ixoyx', and 'zzzzzzzzzzzz',
so the expected result should not be 'ixoyx3452zzzzzzzzzzzz'.
Some test cases are simply wrong. Eg.
'owiaxujylentrklctozmymuwlwsasphmxx' should equal 'wlwsasphmxxowiaxujylentrklctozmymu'
which should not.