Skip to content
RED SAG Skills
mediumStudy question · answer published in Data Structures and Algorithms interview questions, so no pointshash-maptwo-sum

Order of steps in Two Sum

In one-pass Two Sum, why do you look up target - x before adding x to the map?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions