Castle Stone pair sum
Filed under Samsung
The question
Given an array of stone weights and an integer k, return the number 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.