Your question is Pair Sum and Search Coding. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
How would you find all pairs in a list that sum to a given number, and how would you apply binary search and hashing to solve related variants?