1685. Sum of Absolute Differences in a Sorted Array - Solutions and Explanation | Vultr Docs