Topic: Bit Manipulation Problem / Level: beginner

Problem: Create a function that finds the number of distinct patterns in the binary representation of a number.

Run the code to see the output here...