Coding tools
Learn & compete
Community
Practice
Hash map in O(n).
Constraints
Example
>>> two_sum([2, 7, 11, 15], 9) (0, 1)
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints