Check If Array Pairs Are Divisible By K Leetcode Solution 1