Part 1. Definition
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
Part 2. Example
[2,4,5,6,4,8,9,10], target=10
Answer: [2,8]
Explanation: 2 and 8 are present in the list and sum to 10 which was the target sum
Part 3. Exercise
[36, 19, 21, 42, 8, 31, 25, 43, 4, 2, 13, 3, 1, 11, 17, 10, 45, 12, 30, 23], target=29
Answer:
[21, 8]