Rosetta Problems

Count Number of Bad Pairs

https://leetcode.com/problems/count-number-of-bad-pairs