Problem Of Binary Gap

The Binary Gap is the number of Consecutive zeros in the binary representation of a decimal number surrounded by 1’s at both ends. The Problem of Binary Gap corresponds to finding the longest Binary Gap in a given Decimal number. … Continue Reading