Frage im Vorstellungsgespräch bei Vrbo

Given an array and an integer check if any two elements in the array sum up to the given integer?