30:00
Given an array of integers, return indices of the two numbers such that they add up to a specific target.
2≤nums.length≤1042 \leq \text{nums.length} \leq 10^42≤nums.length≤104
−109≤nums[i]≤109-10^9 \leq \text{nums}[i] \leq 10^9−109≤nums[i]≤109
−109≤target≤109-10^9 \leq \text{target} \leq 10^9−109≤target≤109
Only one valid answer exists.
Empty