Pergunta de entrevista da empresa Amazon

write a code for finding the sum of any two numbers in the given array could be equal to x