Find all pairs in two unsorted arrays whose sum is X
Filed under HashedIn
The question
Given two unsorted arrays of integers and a target value x, find all unique pairs (one element from each array) whose sum equals x.
No write-up yet. Related questions below have one.
Related HashedIn questions
Collected from public candidate posts and coding forums. Updated Nov 2026.