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.
Checking the continent names wasn't the purpose of this Kata, as the description itself explains:
"The input array and continent names will always be valid and formatted as in the list above for example 'Africa' will always start with upper-case 'A'."
Could this solution go wrong considering other scenarios? Obviously! But it totally solves the kata the way it is without mistakes as its logic is adapted to the given instructions.
This comment is hidden because it contains spoiler information about the solution