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