LeetCode
Binary Gap
Click
here
for an explanation.