Problem 44762. Find The Difference
Vector x is given.calculate the difference between the biggest and the smallest number that we can create from elements of x. for example: x= [1 2 3]; dif=321 -123=198;
Solution Stats
Problem Comments
-
1 Comment
Alan
on 11 Nov 2018
Test Suite #3 is not correct.
Solution Comments
Show commentsProblem Recent Solvers36
Suggested Problems
-
Numbers with prime factors 2, 3 and 5.
468 Solvers
-
Make a random, non-repeating vector.
8825 Solvers
-
378 Solvers
-
Find out sum and carry of Binary adder
1457 Solvers
-
Sum of the Multiplication of Vectors
266 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!