Check for pair with sum as x
Filed under Saavn
The question
Given an array and a number x, check if there exists a pair in the array whose sum equals x.
No write-up yet. Related questions below have one.
Related Saavn questions
Collected from public candidate posts and coding forums. Updated Nov 2026.