The test case is not correct.
I cleaned up the test.
duplicate of 262
swap algorithm without auxiliary variables
1327 Solvers
381 Solvers
325 Solvers
573 Solvers
213 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!