CodingReported in a candidate post, Sep 2020
Count Set Bits for Signed and Unsigned Numbers
Filed under American Express
The question
Determine the number of set bits (1s) in an integer, handling both signed and unsigned inputs properly.
No write-up yet. Related questions below have one.
Related American Express questions
Collected from public candidate posts and coding forums. Updated Nov 2026.