Find pair with sum x
Filed under CarWale
The question
Given an array and a number x, find all pairs in the array that sum to x.
No write-up yet. Related questions below have one.
Related CarWale questions
Collected from public candidate posts and coding forums. Updated Nov 2026.