Given an array of distinct integers `numbers` and a target sum `sumTarget`, find all pairs of unique elements in `numbers` that add up to `sumTarget`. Return the pairs of elements that sum up to `sumTarget`.
Explanation: The pairs (2, 5) and (3, 4) sum up to 7.
Explanation: The pair (-1, 1) sums up to 0.
Analyze constraints and compute optimal solutions step-by-step.
No dry run loaded.
🚀 Practice this problem
Run code, get AI hints & track streak