Loading…

Why does the Two Sum algorithm add the current element to the Map only after checking needed?

Exercise review

Mentor
We can discuss the current task or any algorithms theory. I’ll help you understand it and find the next step.
Sign in to use the Mentor The Mentor uses the current exercise and your conversation history.
Sign in