Leetcode 1814. Count Nice Pairs in an Array | Hello Interview