Leetcode 2427. Number of Common Factors | Hello Interview