Rosetta Problems

Count Number of Pairs With Absolute Difference K

https://leetcode.com/problems/count-number-of-pairs-with-absolute-difference-k