Leetcode 3649. Number of Perfect Pairs | Hello Interview