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.
Hello. I need help. I believe I'm missing some important fundamentals here and the question is dumb, but I can't get the data.
If I write "return grid" it returns plain list of coordinates without any other data. So I see something like [[(0,0),(0,1),..],[(1,1),(1,2),...]etc] instead of the expected matrix blueprint.
I know how to do it if the function takes the matrix itself, but I don't understand what am I suppose to do with plain list of coordinates.
So, help, please tell me what am I doing wrong.
For the record: I believe using "blueprint = grid1_blueprint" in the function must work but it returns an error.
cache
is recreated again every time your function is called, that won't work. Google how memoization is done.This comment is hidden because it contains spoiler information about the solution