Problem 54975. Find Min and Max Differences in a Vector

Given an array of integers, return the absolute largest and smallest (non zero) difference between any two numbers in the array.

Solution Stats

48.65% Correct | 51.35% Incorrect
Last Solution submitted on Dec 21, 2025

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers48

Suggested Problems

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!