Brian Kernighan's Algorithm | Count set bits in binary representation of a number

Click a thumbnail to watch in a lightweight modal. (No downloads — view only.)