The test case is not correct.
I cleaned up the test.
duplicate of 262
swap algorithm without auxiliary variables
2217 Solvers
407 Solvers
522 Solvers
361 Solvers
428 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!