Challenge: Determinant of the matrix #3

Subdomeniu: Linear Algebra Foundations (linear-algebra-foundations)

Scor cont: 5.0 / 5

Submission status: Accepted

Submission score: 1.0

Submission ID: 464733231

Limbaj: python3

Link challenge: https://www.hackerrank.com/challenges/determinant-of-the-matrix-3/problem

Cerinta

Given following expression -
<img src="https://s3.amazonaws.com/hr-challenge-images/0/1445330429-97be3d12a0-Screenshotfrom2015-10-20141023.png" title="Screenshot from 2015-10-20 14:10:23.png" />

Find the following determinant value -
<img src="https://s3.amazonaws.com/hr-challenge-images/0/1445330496-346875dd40-Screenshotfrom2015-10-20141129.png" title="Screenshot from 2015-10-20 14:11:29.png" />

Your answer’s determinant value should look like this:

<pre>
5
</pre>

Cod sursa

print(-6)
HackerRank Linear Algebra Foundations – Determinant of the matrix #3