Topic: Bit Manipulation Problem / Level: intermediate

Problem: Write a program to find the longest sequence of alternating bits in a binary string.

Run the code to see the output here...