Minimum Absolute Difference Between Elements With Constraint
Use predecessor and successor queries among elements that satisfy an index-distance constraint.
Use predecessor and successor queries among elements that satisfy an index-distance constraint.