Find two pairs in unsorted array with sum k
Filed under Procol
The question
Given an unsorted array, find two pairs whose elements sum to a given value k.
No write-up yet. Related questions below have one.
Related Procol questions
Collected from public candidate posts and coding forums. Updated Nov 2026.