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