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.
The description should say
nil
instead ofNone
for ruby, but good jobGreat use of defaultdict!
I would like the site to be faster. I also dislike that most of the time my code runs time out. I, and most people I think, would pay for a premium account (if those existed) if it ran better.
Can anyone explain how this works? I know what a partial function is (basically prefilling some of the args), but how is it used here?
No, stop
Very nice! Shame on codewars for mangling that.
This is really cool. Thanks for showing me this is possible with islice
This is the ugliest thing I've ever seen. I'm sorry.
I don't believe that's true, I just tested it out. Can you either say why you think so or give an example of an n that causes failure?
Hey since you added the unit test for [True, True, False, True...] etc, it's broken. It shouldn't succeed on anything besides [True, False], no repeats, just like the numbers.
Having no repeats made sense, you can't kill someone twice after all, and this thing you added broke that.
How can I debug this? How can I log what'd going on in the zmq_barista thread?
You can always just turn recursion limits off too (which also works here on codewars!)
Wow, great job! This is definitely not a 6kyu problem anymore. That's an awesome solution you have.
Try this with Fib(100), it's not computable (as far as I know) because of how this doubles the operations at each level of the recursion.