Given an array of integers, return the absolute largest and smallest (non zero) difference between any two numbers in the array.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers51
Suggested Problems
-
Longest run of consecutive numbers
6804 Solvers
-
988 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14465 Solvers
-
Find the dimensions of a matrix
569 Solvers
-
220 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!