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.
Return the largest number that is adjacent to a zero
3749 Solvers
2183 Solvers
Increment a number, given its digits
562 Solvers
Sum the numbers on the main diagonal
453 Solvers
286 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!