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