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.
Can you explain further on time complexity?
How do you know this example will be slow?
short code but the time complexity will be high
I tested functional programming vs a for loop and it seems like the for loop can be about 100ms faster than the functional programming approach. Not too sure why
#11bfq_42w
excellent . i forgot about named group .
This is so cool :)
Agreed, I remember reading that somewhere -- but why? because of the lambda function, right?
Actually not the best practice. List comprehension would be more fitting
This was awesome. I had my head banging thinking I need to use a lookaround or something, didn't realise all you need are groups
nah.imports
This comment is hidden because it contains spoiler information about the solution
Will your solution work for all domains in existence? Or is it just to pass the tests in this Kata?
Same here, great solution, thx
this solution will give you a subdomain, pay attention for it in real cases;)
This comment is hidden because it contains spoiler information about the solution
Very gracefully. Thank you!
Loading more items...