Hard-coded Solution 1546791 is around half the size of a true (general) submission like Solution 1546790, which demonstrates that you need to include more test cases in your Test Suite.
best solution so far! the way you handle the complexity of multiple conditions, is rather instructive. it perfectly demonstrate how to command the usage of function and command it in detail.
Replace NaNs with the number that appears to its left in the row.
2033 Solvers
387 Solvers
258 Solvers
Getting the indices from a matrice
368 Solvers
The Answer to Life, the Universe, and Everything
386 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!