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.
Each strand has a unique capital letter. Note how in the tests, the strands will always be connected but may traverse different inner-arrays.
All Cs will be part of the same strand even if it twists and turns.
Poetic description is nice, but too vague. Got it working according to description, but all tests here failed. I thought you want to find the longest string by letter from array, not the letters that appear the most in ALL strings. To me that is not spaghetti, but macaroni...
Handling negative inputs isn't part of the spec.
What happens if input is -1. Or did I understood this kata wrong...