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.
JS: The Reference solution is incorrrect, as pointed out by ajbrin below:
Should specifiy which to return when there are more than 1 word that has the maximum length;
JS: Node v14 should be used along with its appropiate assertion tools (Mocha + Chai).
Refer to this and this
input: pdBkMp tEt-fUEa Oupu-uqpez SeYTjMHtwS NnkzRJW
Expected: '['Oupu-uqpez', 9]', instead got: '['SeYTjMHtwS', 10]'
???
Oh wait, and I forgot to mention there were no random tests :(
Duplicate of this kata, and definitely many more (I can't seem to find them handily right now, but this concept has been done to death).