Return all pairs of indexes whose sum results in a target number
Filed under Goibibo
The question
Given an array and a target number, return all pairs of indexes whose values sum up to the target.
No write-up yet. Related questions below have one.
Related Goibibo questions
Collected from public candidate posts and coding forums. Updated Nov 2026.