Sum of Absolute Differences in a Sorted Array

mediumSolve on LeetCode
Last edited: August 2, 2025