Find Indices With Index and Value Difference I
Brute force over all index pairs: return the first pair whose index gap and value gap both meet the thresholds.
Brute force over all index pairs: return the first pair whose index gap and value gap both meet the thresholds.