Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
âK
Get Premium
Leetcode 1497. Check If Array Pairs Are Divisible by k
Determine whether the array can be paired so every pair sums to a multiple of k by looking at element remainders mod k: you must be able to match counts of remainder r with counts of kâr (and ensure counts for remainder 0 â and r = k/2 when k is even â are even), accounting for negative values via modulo normalization.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.