Count Distinct Pairs With Given Sum Leetcode Solutions In C