Example
Input:
a = 10 b = 20
Output
a = 20 b = 10
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers817
Suggested Problems
-
Determine Whether an array is empty
817 Solvers
-
Cell Counting: How Many Draws?
2527 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1285 Solvers
-
Do Fast Fourier Transformation
285 Solvers
-
577 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
The test case is not correct.
I cleaned up the test.
duplicate of 262