Report question

Question: How to write an algorithm to check if the sum of any two numbers in an array/list matches a given number?