As a friendly reminder, we can see the test suite, so it makes the problem more challenging if the solution is not explicitly in the test suite.
The Test Suite needs to allow for floating-point errors in all test cases, as demonstrated in Solution 1575603. (Refer to Problem 44690.) Also, there should be at least four test cases for every problem.
Permute diagonal and antidiagonal
224 Solvers
Find out sum of all elements of given Matrix
349 Solvers
Matlab Basics II - Log and natural log
136 Solvers
Replace every 3rd element in a vector with 4
170 Solvers
142 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!