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 complexity is actually O(2^2n)) (you only need log(n) bits to represent row and col). However, you still cannot do better than O(row * col) (which is what I assume you meant), as that's also the size of the output.
Nice
Will this still be a O(n^2) complexity?
I must have learnt fake Python...this is beautiful.