Open Marcus-auz opened 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.
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.