Topic: Bit Manipulation Problem / Level: intermediate

Problem: Implement a function that counts how many integers from 1 to n have an even number of bits set.

Run the code to see the output here...