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.
It's about the diagonals (complete ones and partials ones). A very good explanation was made by benjaminzwhite in his python solution of the kata, I can't do better. ;)
Duplicate of https://www.codewars.com/kata/55905b7597175ffc1a00005a ? (Just a difference of performance?)
When I run 'Test' or 'Attempt', this raises an error with the tests :
Traceback (most recent call last): File "tests.py", line 3, in module from solution import recurrence ImportError: cannot import name 'recurrence' from 'solution' (/workspace/default/solution.py)
0 could be a good idea for the beauty of solutions.