You are viewing a single comment's thread. Return to all comments →
It is same as
int index = (k - bucket) % k; count = count + counts[index];
and
counts[bucket]= counts[bucket] + 1;
Seems like cookies are disabled on this browser, please enable them to open this website
Divisible Sum Pairs
You are viewing a single comment's thread. Return to all comments →
It is same as
int index = (k - bucket) % k; count = count + counts[index];
and
counts[bucket]= counts[bucket] + 1;