Leetcode 3164. Find the Number of Good Pairs II | Hello Interview