Can anybody please help me to find binary gap | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can anybody please help me to find binary gap

Want to find binary gap of 0's through array like 101001 there is 2 consecutive zeroes between 1 to second 1

13th Oct 2019, 4:38 PM
Salman Nadeem
Salman Nadeem - avatar
1 Answer
0
First try to do by yourself.
19th Oct 2019, 9:40 PM
A͢J
A͢J - avatar