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.
That was my mistake, I was using an extremely inefficient algorithm. Changing my approach fixed the issue. Thanks for quick reply!
I get
Timeout::Error: execution expired
. I have no idea how to make code more efficient. I am already memoizing squares for first item of the array so I use calculated results for the second. What else can I do?Thanks but I still don't get it. I think you could clarify "If this method is not called then the item/hash reference will be used instead. " I understood "reference" as an object_id while you meant actual key-value pair.
But I still get the same error and I think it's related to processed_items not filtering new items properly. I don't know what I miss in kata description.
This comment is hidden because it contains spoiler information about the solution
Got same error
Wrong