Not a general solution. Passes only due to small number of cases in the Test Suite.
Swap the first and last columns
12413 Solvers
2143 Solvers
191 Solvers
286 Solvers
121 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!