Example 1
pairWithTargetSum()Input
nums = [21, 35, 26, 1, 18, 32, 27, 7, 12, 9, 29, 6, 28, 22, 16, 36, 30, 40, 8, 31, 10, 11, 14, 20, 34, 17, 33, 13, 37, 38, 2, 15, 24, 19, 39, 25, 5, 3, 4, 23, 1, 1, 1, 1, 1], target = 54Output
[2, 12]Why
`pairWithTargetSum` returns `[2, 12]` for this input.