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: [38, 29, 22, 9, 18, 35, 7, 42, 15, 48, 10, 11, 26, 46, 49, 45, 36, 24, 41, 40], target=11
A:
[]