Topic: Bit Manipulation Problem / Level: beginner

Problem: Write a program to check if a binary number is a valid representation of a positive integer in binary.

Run the code to see the output here...