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.
Looks clever but in terms of cost:
you have to scan the string many, many times
each time you do parens.replace you are generating a new string.
you're overthinking this: this approach is actually very bad (think about its time complexity)
Awesome!
Great code!
I didn't know that a empty string denied is true \õ/
Thats usefull, make a lot of things easier
.
I had exactly the same idea, but done that a bit harder, thank you! ^_^
Clever one =)
.
yeah, I know. Unfortunately, there's nothing that can be done about that... :/
"Network Error
This error was caused due to an issue processing the web request, not because of an issue executing your code."
the fact it said it was not an issue executing my code was quite misleading.
Not an issue.
Actually what you're facing is that you print way too much things to the console and that is what makes fail your code (for now, at least). This kata is demanding about performances and present some difficulties in that it's sometime difficult to see what is causing failure because the debugging print statments can make fail yor code by themselves.
Some inputs contain several millions of characters.
it seems to be an issue with "import re"
This comment is hidden because it contains spoiler information about the solution
every time i try to submit by solution it gives me an network error.
(code in comments)
Because they're frozen.
It's a
3kyu
, so it's not going to be this simple ;-)Loading more items...