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
[31, 29, 8, 22, 7, 2, 48, 35, 12, 13, 16, 34, 17, 40, 1, 45, 43, 39, 20, 26], target=39
Answer:
[31, 8]