• ###### Termindevcommented on "Matrix Determinant" kata

What's the point of having the number type be `long long` in C++?

My solution was `O(N^3)` space complexity and still passed.

• ###### RedYaracommented on "Matrix Determinant" kata

During studying always wanted to write code, that finds Matrix Determinant. My dream came true =)

• ###### Greentea_cupcommented on "Matrix Determinant" kata

Determinant stays the same after matrix transposition (i.e. row vector matrix would produce the same determinant as column vector one).

• ###### superbolt08created a question for "Matrix Determinant" kata

how do I solve the random tests? Its the last thing I have to do

• ###### Adi Pcommented on "Matrix Determinant" kata

Nice kata. Took me too long to solve but I need to make my solution more performanant instead of copying arrays.

• ###### JollyRoger4444commented on "Matrix Determinant" kata

Random test might be broken for java, all other test for me are working including independent tests I tried.

• ###### MrWolfemcommented on "Matrix Determinant" kata

I thought I would finish this in 1 or 2 hours, and I just saw the sunset while I was doing it...

• ###### JohanWiltinkresolved an issue on "Matrix Determinant" kata

Not a kata issue. Or maybe it is, but we can never tell with so little information. Closing.

approved

• ###### CJohnston079commented on "Matrix Determinant" kata

Excellent kata, I enjoyed learning about determinants and solving this. Took me too long to realise I wasn't multiplying the sub determinant by the anchor for 4x4 + matrices.

• ###### o2001commented on "Matrix Determinant" kata

You can technically do what you're trying to do without division; your intention is to cancel out numbers, and you can either do that by division as you're doing, or by multiplication (hint: maybe `std::lcm` can help?). Haven't tried it out, but you should probably be able to find an approach that works without float division.

• ###### o2001commented on "Matrix Determinant" kata

Don't think that way. You'll get quicker the more higher rank Katas you solve. The fact that you solved it now means you'll solve similar Katas much quicker. That's how it works for everyone; people program quickly when they've seen enough problems of that sort.

• ###### Amirhoqahrcommented on "Matrix Determinant" kata

How long should it take to solve this Kata?
It took me 5 hours, is it too long?

• ###### LocalPipercreated a question for "Matrix Determinant" kata

When using a faster approach that requires working with floating point numbers, the results on large matrices are either off by 1, or miss completely. How can I fix that?

• ###### vinyxcommented on "Matrix Determinant" kata

alternatively you could mod by 1e9 + 7. https://www.geeksforgeeks.org/modulo-1097-1000000007/