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.
This means that the diagonals are in that order, but does not affect the order of the items in each of the diagonals, although that does seem a bit ambiguous, so I'll probably remove that.
Made it order-dependent.
Added a picture showing the example in the question.
I have added a description of lattice multiplication in its section.
What if someone appended things in a different order? (Example: What if someone adding the items 3, 5, 6 to a list instead of 5, 3, 6?) I'm only sorting them to see whether they have the right items.
Marking issue as resolved.
done
That kata only wants you to find the indices, but this kata focuses more on creating the lists.
Solved it.
Thanks for your suggestions. I have updated it.
Is it working now? I forgot to publish the kata earlier.
I have also found a testcase where https://www.codewars.com/kata/reviews/63b06eebd78d850001cac165/groups/63b072a2cddb40000122f5cc doesn't pass
Uses updated test framework now.
Added random tests
Loading more items...