In these arrays, the numbers can be either positive or negative. Only one number from each array may be used.
I received this question as an algorithms question on a phone interview and it stumped me. The interviewer seemed to believe there was an O(n) solution.
Edit: My question is different than the "possible duplicates" because this question involves 2 arrays, rather than one.