Topic: Bit Manipulation Problem / Level: beginner

Problem: Write a function that checks if the binary representation of a number contains three consecutive 1s.

Run the code to see the output here...