dibyendu415 / DibsProjects

0 stars 17 forks source link

Count pairs whose sum is divisible by a given number k #77

Open Marcus-auz opened 4 years ago

Marcus-auz commented 4 years ago

Given an array, you have to count the number of pairs whose sum is divisible by a user entered number k.Try to provide optimal solution.That works for large array input and other than the iterative approach if possible.