Given an array of integers nums and a target, return the indices of one pair whose values add up to target. Return the two indices as [i, j] — the order does not matter.
Every input has exactly one valid pair.
Indices of a Pair That Sums to Target (Set 1) — the data. This set runs 4 cases: nums holds arrays of 2–9 items, with values from 1 to 39; target ranges over 38–63. The hidden cases are the largest of the set.