Given two sorted arrays of integers, a and b, and an integer c, I have to find i,j such that:
a
b
c
i,j
a[i] + b[j]
Thinking a bit about it, then you could ask yourself: "Is it necessary, each time, to search in the sorted b-array for successive values from a[]?"