Check If Array Pairs Are Divisible by k | Leetcode 1497