You are given a list of integers and an integer target, return a list of a pair of numbers in any order such that they add up to target. If there is no such pair of numbers, then return an empty list
One example is below.
Q: [2,4,5,6,4,8,9,10], target=10
A: [2,8]
Rationale: 2 and 8 are present in the list and sum to 10 which was the target sum
Q: [14, 4, 11, 7, 35, 15, 43, 26, 30, 1, 17, 18, 10, 47, 16, 37, 29, 34, 3, 41], target=49
A:
[14, 35]