A[i] * A[j] = k in O(nlog(n))
- by gleb-pendler
A is an Array of n positive int numbers
k given int
Algorithm should find if there is a pair of numbers which product gives the result
a. A[i] * A[j] = k
b. A[i] = A[j] + k
if there is such a couple the algorithm should return thier index.
thanks in advance.