Leetcode Check If Array Pairs Are Divisible By 2 In Fractions