
Given an array of integers representing signal magnitudes, calculate the absolute difference between the largest and smallest values found within the array.
Explanation: The maximum value is 20 and the minimum value is 3. The absolute difference is 20 - 3 = 17.
Explanation: The maximum value is 7 and the minimum value is 7. The absolute difference is 7 - 7 = 0.
Explanation: The maximum value is 10 and the minimum value is -10. The absolute difference is 10 - (-10) = 20.
Access the full code editor, ThinkBuddy AI hints, and track your progress.