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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Just what I wanted to notice, this regex doesn't cover all the words.
gj nia-h!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
alexshavlovsky.........
dang what a nice answer bro
really hard for my brain to chew tho hahaha
Can someone explain me this code ?
This comment is hidden because it contains spoiler information about the solution
Why is it so fast?
it is possible, but the tests will not pass in all cases and not for all data. And since the data is generated dynamically, the complexity of sorting varies, as well as the correctness of the final sample.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Am I wrong or does this not match words ending with a .(fullstop) or ,(comma)?
The short answer is, It's a Positive Lookahead (zero-width assertion). look ahead for 'space' (or end of $tring) without including it in the result. Good Job on this kata.
What about mine? It's the replaceAll complementary
Long live to regex assertions
Loading more items...