Example
Input:
a = 10 b = 20
Output
a = 20 b = 10
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers785
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15803 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2888 Solvers
-
Back to basics 22 - Rotate a matrix
937 Solvers
-
Given a matrix, return the last eigen value
233 Solvers
-
Find the Oldest Person in a Room
20871 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