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.
Yes!
Prefer this to the single line solutions, much easier to read :)
\w
also ignores ö,ä,ß. It only matches[A-Za-z0-9_]
Pretty clean, without having to resort to regex dark wizardry. However, seems to dodge the problem's intent.
Without them I can put a '.' at the begining or end
😡
So neat. Next time I will string multiple conditions together. Thanks for sharing!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
"efficiency" is generally related to time complexity, not space. ;) (but I have some extra layers there too, yes)
А very concise but inefficient solution due to high space complexity
+1 for readability and best practice, but this answer violates the specified constraints, which were implied by the message "answer goes here" placed between a single pair of slashes.
This is so clean. Please consider to add comments I really would like to understand how it works and the logic behind.