Home > Topics > Programming Problems
2 Sum
Problem Statement
Given an array of integers, return 2 integers that sum to zero if possible.
Clarifications
- If multiple solutions exist, return any of them
- Each element can only be used once
Variations
- Return the indices, not the values