Do two array elements sum to N?

Hard

Given an array and a number N, write a function that returns True if there are two numbers in the array that add up to N. Otherwise, return False....

Sign in to InterviewQs to view this question

Or

New to InterviewQs? Sign up now.

By proceeding, you agree to our Terms and Conditions and Privacy Policy.

Loading editor...