Example
Input:
a = 10 b = 20
Output
a = 20 b = 10
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers834
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2078 Solvers
-
Check if number exists in vector
14651 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14520 Solvers
-
297 Solvers
-
7965 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