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.
no words...
Lol things like this make me think that I do not understand python at all
same here
You're not misunderstanding. The description is wrong.
"Any set/del after an undo should disallow new undos"
Should actually be:
"Any set/del after an undo should disallow new redos"
In other words, after a set or del there is nothing to redo.
what is supposed to mean "Any set/del after an undo should disallow new undos." ??
After setting or deleting something the "undo" function should be "disallowed"??
does that even make sense?
My solution works with the tests but it does not in the submition and I am wondering if it is because of this. Not sure if I am totally misunderstanding this part
:o I didn't understand well, but now I did. Thank you for you reply. I just have finished the kata.
This comment is hidden because it contains spoiler information about the solution
Weird thing. My solution works with every test but it's rejected because it takes more than 6000 ms. That doesn't happen when I try my code in the browser console (it takes less than 1 sec with the long text "I am a bad bad bad algorithm because I do not use a cache...").
Babylonian method: https://en.wikipedia.org/wiki/Methods_of_computing_square_roots
The description is difficult to understand. I feel that it has nothing to do with the example. And I think that the last test is somehow wrong as others said before
good one... sensei
Good. This really does uses a closure, Not like the other more voted solutions. I always wondered what were the ending parenthesis for.