QUIZ: LC_W01
◀ BACK WEEK 1
8 QUESTIONS
Q1 1 / 8 medium
Two Sum

Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. Each input has exactly one solution, and you may not use the same element twice.

What is the key data structure or technique required?