AlgoMaster Logo

Two Sum

nums=[2, 7, 11, 15],target=9
0 / 10
target = 92711150123HashMap (value → index)Start: Find two numbers that add up to target = 9
algomaster.io
Step:Start: Find two numbers that add up to target = 9