โ† BuyHatke questions

Pairs divisible by k

Filed under BuyHatke

The question

Given an array, return the number of pairs whose sum is divisible by k.

No write-up yet. Related questions below have one.

Related BuyHatke questions

Collected from public candidate posts and coding forums. Updated Nov 2026.