given 3 arrays, array a, array b, array c.
find all pairs where a[i] + b[j] = c[k]
a, b , c are sorted.
A matching quadratic solution is available on wiki, please visit this link:
Collection of Interview Question on Data structure, Algorithm, Java, C++ and more
Comments
Post a Comment