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.
beautiful
Nice use of recursion. This inspires me to practice it more.
nice
good
Actually it is call URI fragment not anchor. Anchor is the HTML element which allows you to link to another resource.
Source: https://en.wikipedia.org/wiki/URI_fragment
Even thought your solution would work the problem with this approach is the runtime complexity.
Iterating over an object has a runtime of O(n), or more presice O(17) in this example since the number of languges is constant.
The benefit of using a HashMap (object in JavaScript) is that you can lookup / retreive items in constant runtime O(1).
Especially when dealing with large datasets this can cause siginificant performance differences.
Adjust details to handle whitespace characters and punctuation