Skip to main content

Counting

LeetCode 1497: Check If Array Pairs Are Divisible by k (Remainder Pairing, Modulo)
·2 mins
LeetCode Daily Medium Array Hash Map Modulo Math Counting Complement
Remainder pairing with a hash map; handle 0 and k/2 remainders carefully.