Topic: Bit Manipulation Problem / Level: intermediate

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

Run the code to see the output here...