jseremba/Binary-Gap-solution-Javascript
A binary gap within a positive integer N is any maximal sequence of consecutive zeros that is surrounded by ones at both ends in the binary representation of N.
JavaScript
Issues
- 1
This solution wont work for number 32 (100000)
#2 opened by tr1ms - 2
Purpose of line
#1 opened by kolawoletech