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