Example
Input:
a = 10 b = 20
Output
a = 20 b = 10
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers778
Suggested Problems
-
Return the 3n+1 sequence for n
8491 Solvers
-
Maximum running product for a string of numbers
2254 Solvers
-
2272 Solvers
-
246 Solvers
-
07 - Common functions and indexing 1
454 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