Topic: Bit Manipulation Problem / Level: beginner

Problem: Create a function that checks if the binary representation of a number has a valid length for a specific encoding.

Run the code to see the output here...