I was solving a problem from Leetcode https://leetcode.com/problems/count-pairs-of-points-with-distance-k/
In this problem i am only checking from (i to i+100) and it passed , i not have any proof how pair will exist only till i+100,can anyone provide any proof or intuition.