Example
Input:
a = 10 b = 20
Output
a = 20 b = 10
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers792
Suggested Problems
-
Find the maximum number of decimal places in a set of numbers
3560 Solvers
-
Given a window, how many subsets of a vector sum positive
873 Solvers
-
Create a vector whose elements depend on the previous element
803 Solvers
-
727 Solvers
-
11053 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