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.
Same. The author did not fix it. 7 years passed.
This looks a little bit like the problem I was having. If you're doing player1.zip(player2), you need to check whether player2 is longer, and if so, do player2.zip(player1).map(&:reverse), because otherwise the extra elements in player2 won't get zipped.
use a recursive function---a function that calls itself as the return value.
Precisely; mind you: it is rather hard core for a beginner, but if you manage to learn even just half of it, there will be very little left to fear in most interview you will do in your life ;)
I am having the same problem. Giacomo this is the book you are recommending correct?
https://mitpress.mit.edu/books/introduction-algorithms
No shortcut, no silver bullet for you, I fear: I would recommend you to start reading something like the famous CLRS and become more confident with both data structures and asymptotic analysis - that should cut it, but it will take a while - totally worth it ;)
I will look into this, it does seem like a rare case if you eventually passed it though, thanks for pointing it out!
Did you manage to solve it? I happened to encounter the same problem. Should I work more on the solution or the test is not accurate?
Same.
Your temporary list/object is too large.