Difficulty | Tags | Solution Link |
---|---|---|
Easy | [Arrays, Integers] | To Do |
Write a function that takes an integer and an unsorted array of numbers and returns true if there's any pair of numbers in that array that can be summed up to the input integer.
Input | Output |
---|---|
[1, 3, 5, 4, 2], 7 | true |
[1, 3, 5, 4, 2], 2 | false |