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.
Strange, it worked here. Tested with the above solution and 'tThe Holy Bible' correctly results in 'BbeehHillotTy'. Had to update the test as well to account for the 't'.
Far for best practice, as it isn't understandable at first glance. On the other hand, a one-liner for a relatively complex task is cool!
chatGPT probably got the answer from you!
that answer is from way before chatgpt was a thing lol
nice use chatGPT
Don't get what you want to say?
This solution does not work correctly. If we use the option [1].sameStructureAs([1]), it will return false.
This comment is hidden because it contains spoiler information about the solution
clean, but the intital split/filter repetition seems a bit high in performance cost and very reduceable.
20 lines? 🙂
Wah, beautiful
Pretty clean, love it
Wow.
Or you could just use a.localeCompare(b) instead of trying to find the index.Misread that.I'd say the best say is
[...'abcdefghijklmnopqrstuvwxyz']
It's hard to understand, but beautiful! Cool is everything
Loading more items...