Example
Input:
a = 10 b = 20
Output
a = 20 b = 10
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers777
Suggested Problems
-
Return a list sorted by number of occurrences
2890 Solvers
-
Project Euler: Problem 10, Sum of Primes
2091 Solvers
-
Vectorize the digits of an Integer
337 Solvers
-
Make a run-length companion vector
657 Solvers
-
Area of an equilateral triangle
6784 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