Fetching algorithms...
Fetching algorithms...
nums = [2, 7, 11, 15], target = 9[0, 1]nums = [2, 7, 11, 15], target = 10[-1, -1]nums = [3, 3], target = 6[0, 1]nums = [-1,0], target = -1[0, 1]nums = [5], target = 5[-1, -1]Time Complexity
Space Complexity