Minimize the Maximum Difference of Pairs | Leetcode 2616