Count Number Of Bad Pairs Leetcode Solution In C