โ† Samsung questions

Count pairs with sum k

Filed under Samsung

The question

Given an array of unique integers and k, return the count of pairs whose sum equals k.

No write-up yet. Related questions below have one.

Related Samsung questions

Collected from public candidate posts and coding forums. Updated Nov 2026.