leetcode - 2616. Minimize the Maximum Difference of Pairs
DescriptionYouaregivena0-indexedintegerarraynumsandanintegerp.Findppairsofindicesofnumssuchthatthemaximumdifferenceamongstallthepairsisminimized.Also,ensurenoindexappearsmorethanonceamongsttheppairs.N