You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "Given an array of integers and a target, return the indices of two numbers that add up to the target.\n\nYou can assume there's exactly one solution, and you can't use the same element twice.\n\nExample:\nInput: nums = [2, 7, 11, 15], target = 9\nOutput: [0, 1]\nExplanation: nums[0] + nums[1] = 2 + 7 = 9",
"starter_code": "def solution(nums, target):\n # write your code here\n pass",