CodingReported in a candidate post, Sep 2022
Swap logic identification
Filed under Brillio
The question
Identify the logic behind the sequence: a = a + b, b = a - b, a = a - b.
No write-up yet. Related questions below have one.
Related Brillio questions
Collected from public candidate posts and coding forums. Updated Nov 2026.