All challenges
DSA
Two Sum
easy
20m
#dsa#python#javascript#typescript#go#java#cpp#rust
Given an array of integers nums and an integer target, return the indices of the two numbers that add up to target. Each input has exactly one solution and you may not use the same element twice. Index order does not matter.
Start challengeSign in to save your progress.