Example
Input:
a = 10 b = 20
Output
a = 20 b = 10
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers786
Suggested Problems
-
Maximum running product for a string of numbers
2257 Solvers
-
Find the peak 3n+1 sequence value
2571 Solvers
-
1738 Solvers
-
5877 Solvers
-
Sum the squares of numbers from 1 to n
259 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