Given `nums` and `target`, return indices of two distinct numbers that add up to `target`. Exactly one solution exists. Variant **#2**.
Example 1
Input: nums = [2,7,24,35,6,16], target = 23
Output: [1,5]
nums[1] + nums[5] = 23
Constraints
Acceptance: 64% · Topics: array, hash-table