Topic: Bit Manipulation Problem / Level: beginner

Problem: Implement a function to find the longest sequence of alternating 1s and 0s in a binary number.

Run the code to see the output here...