The test case is not correct.
I cleaned up the test.
duplicate of 262
swap algorithm without auxiliary variables
Replace NaNs with the number that appears to its left in the row.
2018 Solvers
3969 Solvers
614 Solvers
264 Solvers
1098 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!