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
[20, 21, 23, 47, 16, 6, 40, 45, 44, 17, 9, 33, 25, 39, 35, 27, 34, 13, 37, 10], target=30
Answer:
[21, 9]