count distinct pairs with difference k leetcode

hollywood blind items revealed 2021