Calculate the determinant of a 3x3 matrix using cofactor expansion.
Test Cases
Test Case 1
Input:
Example input 1Expected:
Expected output 1Test Case 2
Input:
Example input 2Expected:
Expected output 2+ 1 hidden test cases
Python 3
Loading editor...
Console Output
Click "Run" to test your code or "Submit" to submit your solution.