JetechNY / BinaryGap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Given a positive integer n, find the maximal sequence of consecutive zeros that is surrounded by ones at both ends in the binary representation of n

About


Languages

Language:JavaScript 100.0%