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.
And what does this mean? Too few
elements
provided? Too many? Non-exact amount? Anything else?Needs random tests
Integer factorization is a duplicate to many existing katas.
The amount and details of validation required is ridiculous. It's even more tedious than the task itself.
Also, the specification for
subMatrix
is seriously lacking.Errr...
subMatrix
: The method name does not match at all what I can understand from the related description:discard
...!??? Are you sure? Should the name rather bereduce
,shrink
or something like that? Or maybe just don't use "discard" (btw, that verb makes believe you expect mutation). On second thoughts, I believe I understand what you want: it is the same as getting/using a submatrix to calculate the determinant, that's it? You should reword the description of that method, then. Currently it's a bit misleading.Another good Kata! Thanks.
My brain nearly overheated trying to get the stupid
i
,j
,k
correct for the Matrix multiplication, but I eventually got there.IMO there are a few more test cases that need to be added (pls see my comments for your solution).
Cheers.