Example
Input:
a = 10 b = 20
Output
a = 20 b = 10
The test case is not correct.
I cleaned up the test.
duplicate of 262
swap algorithm without auxiliary variables
498 Solvers
Create a Multiplication table matrix...
226 Solvers
192 Solvers
311 Solvers
241 Solvers